Show / Hide Table of Contents

Class GovernmentBankAccount

Accounts of this type can be targeted by Tax/Pay legal actions. Wealth calculations for users do not include these accounts.

Inheritance
System.Object
SimpleEntry
BankAccount
GovernmentBankAccount
ContractEscrowBankAccount
TreasuryBankAccount
Implements
ILinkableParameterized<System.Boolean>
ILinkableParameterized<SimpleEntry.NamingOptions>
ILinkable
IValidity
ICachesValidity
IHasID
INamed
IReInitializable
IHasReferenceableSerializableID
IHasSerializableID
IDescribable
ISuffixName
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasDualPermissions
ISettlementAssociated
System.ComponentModel.INotifyPropertyChanged
ICategorizedEntry
IController
IViewController
IHasUniversalID
Inherited Members
BankAccount.Initialize()
BankAccount.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
BankAccount.UILinkContent()
BankAccount.TryAddManagerOrUser(Player, IAlias, PermissionsType)
BankAccount.TryRemoveManagerOrUser(Player, IAlias, PermissionsType)
BankAccount.CanAccess(IAlias, AccountAccess, Boolean)
BankAccount.GetCurrencyHoldingVal(Currency)
BankAccount.GetCurrencyHoldingVal(Currency, User)
BankAccount.DisplayAmount(Currency)
BankAccount.CanAnyAccess(IAlias, AccountAccess, Boolean)
BankAccount.AddCurrency(Currency, Single, Boolean)
BankAccount.RemoveCurrency(Currency)
BankAccount.SetAccountName(Player, String)
BankAccount.DescribeHoldings()
BankAccount.Destroyed()
BankAccount.MoveAllCurrencies(BankAccount, LocString, Single)
BankAccount.PermissionsChangedEvent
BankAccount.CurrencyHoldingsChangedEvent
BankAccount.RenamedEvent
BankAccount.HostChangeEvent
BankAccount.UserSetChangedEvent
BankAccount.ManagerSetChangedEvent
BankAccount.CurrencyHoldings
BankAccount.Ledger
BankAccount.DualPermissions
BankAccount.IsPermanent
BankAccount.CanBeSelected
BankAccount.IgnoreDirectTransferTax
BankAccount.AccountNameSuffix
BankAccount.Settlement
BankAccount.ScanPeriodically
BankAccount.IsActive
BankAccount.BalanceChanged
BankAccount.AnyManager
BankAccount.AnyUser
BankAccount.CanHaveNullSettlement
BankAccount.AccountOwner
BankAccount.CanBeDeleted
BankAccount.AnyMoney
BankAccount.Empty
SimpleEntry.Description()
SimpleEntry.PostLoad()
SimpleEntry.CreatorText(Player)
SimpleEntry.ToString()
SimpleEntry.SaveInRegistrar()
SimpleEntry.UILinkContent(Boolean)
SimpleEntry.UILinkContent(SimpleEntry.NamingOptions)
SimpleEntry.ReInitialize()
SimpleEntry.MarkDirty()
SimpleEntry.UserDescription
SimpleEntry.Name
SimpleEntry.Creator
SimpleEntry.NameSuffix
SimpleEntry.CreationTime
SimpleEntry.CachedValidity
SimpleEntry.IsDestroyed
SimpleEntry.OnValidityChanged
SimpleEntry.Initialized
SimpleEntry.MarkedUpName
SimpleEntry.Id
SimpleEntry.IconName
SimpleEntry.Registrar
SimpleEntry.WorldTimeSinceCreation
SimpleEntry.TextName
SimpleEntry.Scannable
SimpleEntry.Style
SimpleEntry.ControllerID
SimpleEntry.TrueResult
SimpleEntry.Subscriptions
SimpleEntry.PropertyChanged
Namespace: Eco.Gameplay.Economy
Assembly: Eco.Gameplay.dll
Syntax
public class GovernmentBankAccount : BankAccount, ILinkableParameterized<bool>, ILinkableParameterized<SimpleEntry.NamingOptions>, ILinkable, IValidity, ICachesValidity, IHasID, INamed, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID, IDescribable, ISuffixName, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasDualPermissions, ISettlementAssociated, INotifyPropertyChanged, ICategorizedEntry, IController, IViewController, IHasUniversalID

Constructors

GovernmentBankAccount()

Declaration
public GovernmentBankAccount()

Properties

CategoryName

Declaration
public LocString CategoryName { get; }
Property Value
Type Description
LocString

CategoryPriority

Declaration
public int CategoryPriority { get; }
Property Value
Type Description
System.Int32

Methods

DescribeWealth(User)

Declaration
public override LocString DescribeWealth(User user)
Parameters
Type Name Description
User user
Returns
Type Description
LocString
Overrides
BankAccount.DescribeWealth(User)

GetResponsibleUser(Boolean)

Declaration
public override User GetResponsibleUser(bool excludeGovCases = true)
Parameters
Type Name Description
System.Boolean excludeGovCases
Returns
Type Description
User
Overrides
BankAccount.GetResponsibleUser(Boolean)

PercentOwnership(User)

Declaration
public override float PercentOwnership(User user)
Parameters
Type Name Description
User user
Returns
Type Description
System.Single
Overrides
BankAccount.PercentOwnership(User)

Implements

ILinkableParameterized<T>
ILinkableParameterized<T>
ILinkable
IValidity
ICachesValidity
IHasID
INamed
IReInitializable
IHasReferenceableSerializableID
IHasSerializableID
IDescribable
ISuffixName
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasDualPermissions
ISettlementAssociated
System.ComponentModel.INotifyPropertyChanged
ICategorizedEntry
IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
BankAccountTooltipLibrary.BankAccountTooltip(BankAccount, User)
ILinkableTooltipLibrary.BankAccountLinkClicked(BankAccount)
MiscTooltipLibrary.SimpleEntryTooltip(SimpleEntry, User)
MiscTooltipLibrary.SimpleEntryTitle(SimpleEntry)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾