Table of Contents

Class Investor

Namespace
Nekoyume.Model.AdventureBoss
Assembly
Lib9c.dll
public class Investor : IBencodable
Inheritance
Investor
Implements
IBencodable
Inherited Members

Constructors

Investor(IValue)

public Investor(IValue value)

Parameters

value IValue

Investor(Address, string, FungibleAssetValue)

public Investor(Address avatarAddress, string name, FungibleAssetValue price)

Parameters

avatarAddress Address
name string
price FungibleAssetValue

Fields

AvatarAddress

public Address AvatarAddress

Field Value

Address

Claimed

public bool Claimed

Field Value

bool

Count

public int Count

Field Value

int

MaxInvestmentCount

public const int MaxInvestmentCount = 3

Field Value

int

Name

public string Name

Field Value

string

Price

public FungibleAssetValue Price

Field Value

FungibleAssetValue

Properties

Bencoded

An Bencodex.Types.IValue representation of this object that can be decoded back to instantiate an equal object. The decoded object must be equal to the original in the sense that Equals(T) should be true.

public IValue Bencoded { get; }

Property Value

IValue

Remarks

Note that the only requirement is that the produced Bencodex.Types.IValue can be decoded back to an equal object. This representation may not be canonical in the sense that additional junk data may be present in an Bencodex.Types.IValue that one may wish to decode and this may be discarded while decoding.

A specific implemnetation may decide to only allow the canonical representation to be decoded.