Property | Type | Description | |
---|---|---|---|
XmlSchemaVersion | System.Version | ||
__writeLock | object |
Property | Type | Description | |
---|---|---|---|
BeginSourceTransaction | ITransaction | ||
FinishEndTransaction | ITransaction | ||
GZipDecompress | |||
NewJournal | System.Xml.Linq.XDocument | ||
TransferMaySucceed | bool |
Method | Description | |
---|---|---|
AddBankAccount ( IBankAccount Account ) : IBankAccount | ||
AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string Description ) : IBankAccount | ||
BackupJournal ( ) : void | ||
BackupJournalAsync ( ) : Task | ||
BindTransactions ( ITransaction &SourceTransaction, ITransaction &DestTransaction ) : void | ||
CleanJournal ( PurgeOptions options ) : void | ||
DeleteBankAccount ( long BankAccountK ) : void | ||
DeleteBankAccountAsync ( long BankAccountK ) : Task | ||
Dispose ( ) : void | ||
DumpSummary ( ) : void | ||
GetBankAccount ( long BankAccountK ) : IBankAccount | ||
GetBankAccountByName ( string UserAccountName ) : IBankAccount | ||
GetBankAccountList ( long BankAccountK ) : IEnumerable |
||
GetWorldAccount ( ) : IBankAccount |
Returns a world account for the current running world. If it does not exist, one gets created and then returned.
|
|
LoadJournal ( ) : bool | ||
LoadJournalAsync ( ) : Task |
||
RandomString ( int Size ) : string |
Thread-safely generates a random sequence of characters
|
|
SaveJournal ( ) : void | ||
SaveJournalAsync ( ) : Task | ||
SquashJournalAsync ( ) : Task | ||
TransferBetween ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : BankTransferEventArgs | ||
TransferBetweenAsync ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : Task |
||
XmlTransactionJournal ( SEconomy Parent, string JournalSavePath ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
JournalBackupTimer_Elapsed ( object sender, System e ) : void |
Occurs when the journal backup timer fires, and performs a journal save.
|
Method | Description | |
---|---|---|
BeginSourceTransaction ( long BankAccountK, Money Amount, string Message ) : ITransaction | ||
FinishEndTransaction ( long SourceBankTransactionKey, IBankAccount ToAccount, Money Amount, string Message ) : ITransaction | ||
GZipDecompress ( byte CompressedData ) : |
Delfates a GZip byte array and returns the uncompressed data.
|
|
NewJournal ( ) : System.Xml.Linq.XDocument | ||
TransferMaySucceed ( IBankAccount FromAccount, IBankAccount ToAccount, Money MoneyNeeded, Journal Options ) : bool |
public AddBankAccount ( IBankAccount Account ) : IBankAccount | ||
Account | IBankAccount | |
return | IBankAccount |
public AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string Description ) : IBankAccount | ||
UserAccountName | string | |
WorldID | long | |
Flags | BankAccountFlags | |
Description | string | |
return | IBankAccount |
public BindTransactions ( ITransaction &SourceTransaction, ITransaction &DestTransaction ) : void | ||
SourceTransaction | ITransaction | |
DestTransaction | ITransaction | |
return | void |
public CleanJournal ( PurgeOptions options ) : void | ||
options | PurgeOptions | |
return | void |
public DeleteBankAccount ( long BankAccountK ) : void | ||
BankAccountK | long | |
return | void |
public DeleteBankAccountAsync ( long BankAccountK ) : Task | ||
BankAccountK | long | |
return | Task |
public GetBankAccount ( long BankAccountK ) : IBankAccount | ||
BankAccountK | long | |
return | IBankAccount |
public GetBankAccountByName ( string UserAccountName ) : IBankAccount | ||
UserAccountName | string | |
return | IBankAccount |
public GetBankAccountList ( long BankAccountK ) : IEnumerable |
||
BankAccountK | long | |
return | IEnumerable |
protected JournalBackupTimer_Elapsed ( object sender, System e ) : void | ||
sender | object | |
e | System | |
return | void |
public static RandomString ( int Size ) : string | ||
Size | int | |
return | string |
public TransferBetween ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : BankTransferEventArgs | ||
FromAccount | IBankAccount | |
ToAccount | IBankAccount | |
Amount | Money | |
Options | BankAccountTransferOptions | |
TransactionMessage | string | |
JournalMessage | string | |
return | BankTransferEventArgs |
public TransferBetweenAsync ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : Task |
||
FromAccount | IBankAccount | |
ToAccount | IBankAccount | |
Amount | Money | |
Options | BankAccountTransferOptions | |
TransactionMessage | string | |
JournalMessage | string | |
return | Task |
public XmlTransactionJournal ( SEconomy Parent, string JournalSavePath ) : System | ||
Parent | SEconomy | |
JournalSavePath | string | |
return | System |