Class PersonalBankAccount
Player's default bank account with an infinite amount of their personal currency. The player cannot be removed from managers list.
Inheritance
System.Object
PersonalBankAccount
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class PersonalBankAccount : BankAccount, ILinkableParameterized<bool>, ILinkableParameterized<SimpleEntry.NamingOptions>, ILinkable, IValidity, ICachesValidity, IDescribable, ISuffixName, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasDualPermissions, ISettlementAssociated, INotifyPropertyChanged, IHasID, IController, IViewController, IHasUniversalID, INamed, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID, ISpecialRegistrarEntry
Constructors
PersonalBankAccount()
Declaration
public PersonalBankAccount()
Properties
AnyManager
Declaration
public override User AnyManager { get; }
Property Value
Overrides
CanHaveNullSettlement
Declaration
protected override bool CanHaveNullSettlement { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsPermanent
Declaration
public override bool IsPermanent { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Settlement
Declaration
public override Settlement Settlement { get; }
Property Value
Overrides
SpecialType
Declaration
public int SpecialType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Initialize()
Declaration
public override void Initialize()
Overrides
PercentOwnership(User)
Declaration
public override float PercentOwnership(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Single |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
TryRemoveManagerOrUser(Player, IAlias, PermissionsType)
Declaration
protected override bool TryRemoveManagerOrUser(Player player, IAlias alias, PermissionsType permissionsChangeType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Verify()
Declaration
Returns
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Extension Methods