private AddTransactionRecord ( UUID transID, string description, UUID toID, UUID fromID, uint amount, TransactionType transType, uint toBalance, uint fromBalance, string toName, string fromName, string toObjectName, string fromObjectName, UUID regionID ) : void | ||
transID | UUID | |
description | string | |
toID | UUID | |
fromID | UUID | |
amount | uint | |
transType | TransactionType | |
toBalance | uint | |
fromBalance | uint | |
toName | string | |
fromName | string | |
toObjectName | string | |
fromObjectName | string | |
regionID | UUID | |
return | void |
void AddTransactionRecord(UUID transID, string description, UUID toID, UUID fromID, uint amount,
TransactionType transType, uint toBalance, uint fromBalance, string toName, string fromName, string toObjectName, string fromObjectName, UUID regionID)
{
if(amount > m_config.MaxAmountBeforeLogging)
GD.Insert(_REALMHISTORY, new object[] {
transID,
description ?? "",
fromID.ToString (),
fromName,
toID.ToString (),
toName,
amount,
(int)transType,
Util.UnixTimeSinceEpoch (),
toBalance,
fromBalance,
toObjectName ?? "",
fromObjectName ?? "",
regionID
});
}