C# Class OMEconomy.OMCurrency.OMCurrencyModule

Inheritance: IMoneyModule, ISharedRegionModule
Show file Open project: OpenMetaverseEconomy/OMEconomy-Modules

Public Properties

Property Type Description
m_KnownClientFunds int>.Dictionary
m_sceneHandler OMEconomy.OMBase.SceneHandler
omBase OMEconomy.OMBase.OMBaseModule

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddRegion() public method

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

AmountCovered() public method

public AmountCovered ( UUID agentID, int amount ) : bool
agentID UUID
amount int
return bool

ApplyCharge() public method

public ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type ) : void
agentID UUID
amount int
type MoneyTransactionType
return void

ApplyCharge() public method

public ApplyCharge ( UUID agentID, int amount, MoneyTransactionType type, string extraData ) : void
agentID UUID
amount int
type MoneyTransactionType
extraData string
return void

ApplyGroupCreationCharge() public method

public ApplyGroupCreationCharge ( UUID agentID ) : void
agentID UUID
return void

ApplyUploadCharge() public method

public ApplyUploadCharge ( UUID agentID, int second, string third ) : void
agentID UUID
second int
third string
return void

Close() public method

public Close ( ) : void
return void

DoMoneyTransfer() public method

public DoMoneyTransfer ( UUID sourceId, UUID destId, int amount, int transactiontype ) : void
sourceId UUID
destId UUID
amount int
transactiontype int
return void

DoMoneyTransfer() public method

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
return void

GetBalance() public method

public GetBalance ( UUID clientUUID ) : int
clientUUID UUID
return int

GroupCreationCovered() public method

public GroupCreationCovered ( IClientAPI client ) : bool
client IClientAPI
return bool

Initialise() public method

public Initialise ( IConfigSource config ) : void
config IConfigSource
return void

ObjectBuy() public method

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
return void

ObjectGiveMoney() public method

public ObjectGiveMoney ( UUID objectID, UUID fromID, UUID toID, int amount ) : bool
objectID UUID
fromID UUID
toID UUID
amount int
return bool

PostInitialise() public method

public PostInitialise ( ) : void
return void

RegionLoaded() public method

public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

RemoveRegion() public method

public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
return void

SendMoneyBalance() public method

public SendMoneyBalance ( IClientAPI client, UUID agentID, UUID SessionID, UUID TransactionID ) : void
client IClientAPI
agentID UUID
SessionID UUID
TransactionID UUID
return void

UploadCovered() public method

public UploadCovered ( UUID agentID, int amount ) : bool
agentID UUID
amount int
return bool

buyCurrency() public method

public buyCurrency ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

buyLand() public method

public buyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

currencyNotify() public method

public currencyNotify ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

getCurrencyQuote() public method

public getCurrencyQuote ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

preBuyLand() public method

public preBuyLand ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
ep System.Net.IPEndPoint
return Nwc.XmlRpc.XmlRpcResponse

requestPayPrice() public method

public requestPayPrice ( IClientAPI client, UUID objectID ) : void
client IClientAPI
objectID UUID
return void

updateClientFunds() public method

public updateClientFunds ( UUID clientUUID ) : void
clientUUID UUID
return void

Property Details

m_KnownClientFunds public property

public Dictionary m_KnownClientFunds
return int>.Dictionary

m_sceneHandler public property

public SceneHandler,OMEconomy.OMBase m_sceneHandler
return OMEconomy.OMBase.SceneHandler

omBase public property

public OMBaseModule,OMEconomy.OMBase omBase
return OMEconomy.OMBase.OMBaseModule