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