C# Класс OMEconomy.OMCurrency.OMCurrencyModule

Наследование: IMoneyModule, ISharedRegionModule
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
m_KnownClientFunds int>.Dictionary
m_sceneHandler OMEconomy.OMBase.SceneHandler
omBase OMEconomy.OMBase.OMBaseModule

Открытые методы

Метод Описание
AddRegion ( Scene scene ) : void
AmountCovered ( UUID agentID, int amount ) : bool
ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type ) : void
ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type, string extraData ) : void
ApplyGroupCreationCharge ( UUID agentID ) : void
ApplyUploadCharge ( UUID agentID, int second, string third ) : void
Close ( ) : void
DoMoneyTransfer ( UUID sourceId, UUID destId, int amount, int transactiontype ) : void
DoMoneyTransfer ( UUID sourceId, UUID destId, int amount, int transactiontype, string>.Dictionary additionalParameters ) : void
GetBalance ( UUID clientUUID ) : int
GroupCreationCovered ( IClientAPI client ) : bool
Initialise ( IConfigSource config ) : void
ObjectBuy ( IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID groupID, UUID categoryID, uint localID, byte saleType, int salePrice ) : void
ObjectGiveMoney ( UUID objectID, UUID fromID, UUID toID, int amount ) : bool
PostInitialise ( ) : void
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
SendMoneyBalance ( IClientAPI client, UUID agentID, UUID SessionID, UUID TransactionID ) : void
UploadCovered ( UUID agentID, int amount ) : bool
buyCurrency ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
buyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
currencyNotify ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
getCurrencyQuote ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
preBuyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
requestPayPrice ( IClientAPI client, UUID objectID ) : void
updateClientFunds ( UUID clientUUID ) : void

Приватные методы

Метод Описание
GetVersion ( Hashtable requestData ) : Hashtable
OnClientClosed ( UUID agentUUID, Scene scene ) : void
OnLandBuy ( Object osender, EventManager e ) : void
OnLogout ( IClientAPI client ) : void
OnMoneyTransferRequest ( UUID sourceID, UUID destID, int amount, int transactionType, string description ) : void
OnNewClient ( IClientAPI client ) : void
OnScriptAnswer ( IClientAPI remoteClient, UUID objectID, UUID itemID, int answer ) : void
OnValidateLandBuy ( Object osender, EventManager e ) : void
SetBalance ( UUID AgentID, Int32 balance ) : void
balanceUpdate ( Hashtable requestData ) : Hashtable
changePrimPermissions ( Hashtable requestData ) : Hashtable
deliverObject ( Hashtable requestData ) : Hashtable
getExchangeRate ( ) : int
landBuy ( Hashtable requestData ) : Hashtable
onObjectPaid ( Hashtable requestData ) : Hashtable
serviceNotAvailable ( UUID avatarUUID ) : void
sliceBits ( int permissions ) : List

Описание методов

AddRegion() публичный Метод

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

AmountCovered() публичный Метод

public AmountCovered ( UUID agentID, int amount ) : bool
agentID UUID
amount int
Результат bool

ApplyCharge() публичный Метод

public ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type ) : void
agentID UUID
amount int
type MoneyTransactionType
Результат void

ApplyCharge() публичный Метод

public ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type, string extraData ) : void
agentID UUID
amount int
type MoneyTransactionType
extraData string
Результат void

ApplyGroupCreationCharge() публичный Метод

public ApplyGroupCreationCharge ( UUID agentID ) : void
agentID UUID
Результат void

ApplyUploadCharge() публичный Метод

public ApplyUploadCharge ( UUID agentID, int second, string third ) : void
agentID UUID
second int
third string
Результат void

Close() публичный Метод

public Close ( ) : void
Результат void

DoMoneyTransfer() публичный Метод

public DoMoneyTransfer ( UUID sourceId, UUID destId, int amount, int transactiontype ) : void
sourceId UUID
destId UUID
amount int
transactiontype int
Результат void

DoMoneyTransfer() публичный Метод

public DoMoneyTransfer ( UUID sourceId, UUID destId, int amount, int transactiontype, string>.Dictionary additionalParameters ) : void
sourceId UUID
destId UUID
amount int
transactiontype int
additionalParameters string>.Dictionary
Результат void

GetBalance() публичный Метод

public GetBalance ( UUID clientUUID ) : int
clientUUID UUID
Результат int

GroupCreationCovered() публичный Метод

public GroupCreationCovered ( IClientAPI client ) : bool
client IClientAPI
Результат bool

Initialise() публичный Метод

public Initialise ( IConfigSource config ) : void
config IConfigSource
Результат void

ObjectBuy() публичный Метод

public ObjectBuy ( IClientAPI remoteClient, UUID agentID, UUID sessionID, UUID groupID, UUID categoryID, uint localID, byte saleType, int salePrice ) : void
remoteClient IClientAPI
agentID UUID
sessionID UUID
groupID UUID
categoryID UUID
localID uint
saleType byte
salePrice int
Результат void

ObjectGiveMoney() публичный Метод

public ObjectGiveMoney ( UUID objectID, UUID fromID, UUID toID, int amount ) : bool
objectID UUID
fromID UUID
toID UUID
amount int
Результат bool

PostInitialise() публичный Метод

public PostInitialise ( ) : void
Результат void

RegionLoaded() публичный Метод

public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

RemoveRegion() публичный Метод

public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

SendMoneyBalance() публичный Метод

public SendMoneyBalance ( IClientAPI client, UUID agentID, UUID SessionID, UUID TransactionID ) : void
client IClientAPI
agentID UUID
SessionID UUID
TransactionID UUID
Результат void

UploadCovered() публичный Метод

public UploadCovered ( UUID agentID, int amount ) : bool
agentID UUID
amount int
Результат bool

buyCurrency() публичный Метод

public buyCurrency ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

buyLand() публичный Метод

public buyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

currencyNotify() публичный Метод

public currencyNotify ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

getCurrencyQuote() публичный Метод

public getCurrencyQuote ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

preBuyLand() публичный Метод

public preBuyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
Результат Nwc.XmlRpc.XmlRpcResponse

requestPayPrice() публичный Метод

public requestPayPrice ( IClientAPI client, UUID objectID ) : void
client IClientAPI
objectID UUID
Результат void

updateClientFunds() публичный Метод

public updateClientFunds ( UUID clientUUID ) : void
clientUUID UUID
Результат void

Описание свойств

m_KnownClientFunds публичное свойство

public Dictionary m_KnownClientFunds
Результат int>.Dictionary

m_sceneHandler публичное свойство

public SceneHandler,OMEconomy.OMBase m_sceneHandler
Результат OMEconomy.OMBase.SceneHandler

omBase публичное свойство

public OMBaseModule,OMEconomy.OMBase omBase
Результат OMEconomy.OMBase.OMBaseModule