Свойство | Type | Description | |
---|---|---|---|
XmlSchemaVersion | System.Version | ||
__writeLock | object |
Свойство | Type | Description | |
---|---|---|---|
BeginSourceTransaction | ITransaction | ||
FinishEndTransaction | ITransaction | ||
GZipDecompress | |||
NewJournal | System.Xml.Linq.XDocument | ||
TransferMaySucceed | bool |
Méthode | 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 |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
JournalBackupTimer_Elapsed ( object sender, System e ) : void |
Occurs when the journal backup timer fires, and performs a journal save.
|
Méthode | 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 | |
Résultat | IBankAccount |
public AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string Description ) : IBankAccount | ||
UserAccountName | string | |
WorldID | long | |
Flags | BankAccountFlags | |
Description | string | |
Résultat | IBankAccount |
public BindTransactions ( ITransaction &SourceTransaction, ITransaction &DestTransaction ) : void | ||
SourceTransaction | ITransaction | |
DestTransaction | ITransaction | |
Résultat | void |
public CleanJournal ( PurgeOptions options ) : void | ||
options | PurgeOptions | |
Résultat | void |
public DeleteBankAccount ( long BankAccountK ) : void | ||
BankAccountK | long | |
Résultat | void |
public DeleteBankAccountAsync ( long BankAccountK ) : Task | ||
BankAccountK | long | |
Résultat | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public GetBankAccount ( long BankAccountK ) : IBankAccount | ||
BankAccountK | long | |
Résultat | IBankAccount |
public GetBankAccountByName ( string UserAccountName ) : IBankAccount | ||
UserAccountName | string | |
Résultat | IBankAccount |
public GetBankAccountList ( long BankAccountK ) : IEnumerable |
||
BankAccountK | long | |
Résultat | IEnumerable |
protected JournalBackupTimer_Elapsed ( object sender, System e ) : void | ||
sender | object | |
e | System | |
Résultat | void |
public static RandomString ( int Size ) : string | ||
Size | int | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | Task |
public XmlTransactionJournal ( SEconomy Parent, string JournalSavePath ) : System | ||
Parent | SEconomy | |
JournalSavePath | string | |
Résultat | System |