C# 클래스 FreeMoney.FreeMoneyModule

상속: ISharedRegionModule, IMoneyModule
파일 보기 프로젝트 열기: edmundedgar/Mod-FreeMoney

공개 메소드들

메소드 설명
AddRegion ( Scene scene ) : void
AmountCovered ( UUID agentID, int amount ) : bool
ApplyCharge ( UUID agentID, int amount, string text ) : void
ApplyUploadCharge ( UUID agentID, int amount, string text ) : void
BitcoinInitializePaymentPage ( Hashtable request ) : Hashtable
BuyerInfo ( Hashtable request ) : Hashtable
Close ( ) : void
EconomyDataRequestHandler ( UUID agentId ) : void

Event called Economy Data Request handler.

FirstRegionLoaded ( ) : void
GetBalance ( UUID agentID ) : int
HandleBitcoinConfirmationPing ( Hashtable request_hash ) : Hashtable
HandleBitcoinRegistrationRequest ( Hashtable request_hash ) : Hashtable
IPN ( Hashtable request ) : Hashtable
Initialise ( IConfigSource source ) : 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
UploadCovered ( UUID agentID, int amount ) : bool
UserPage ( Hashtable request ) : Hashtable
buy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
landBuy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
preflightBuyLandPrep_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
quote_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
requestPayPrice ( IClientAPI client, UUID objectID ) : void

비공개 메소드들

메소드 설명
ConvertAmountToCurrency ( int amount ) : decimal
GetEmail ( UUID scope, UUID key, string &email ) : bool
GetSessionKey ( UUID userkey ) : UUID
InitializeBitcoinTransaction ( FreeMoneyTransaction txn, string base_url ) : BitcoinTransaction
LocateClientObject ( UUID AgentID ) : IClientAPI

Locates a IClientAPI for the client specified

LocateSceneClientIn ( UUID agentID ) : Scene
MakeRootAgent ( ScenePresence avatar ) : void

Event Handler for when a root agent becomes a root agent

OnMoneyBalanceRequest ( IClientAPI client, UUID agentID, UUID SessionID, UUID TransactionID ) : void
OnMoneyTransfer ( object sender, EventManager e ) : void

Thanks to Melanie for reminding me about EventManager.OnMoneyTransfer being the critical function, and not ApplyCharge.

OnNewClient ( IClientAPI client ) : void
SendEntryMessage ( IClientAPI client ) : void
SendInstantMessage ( UUID dest, string message ) : void
ShowUserPage ( Hashtable request, string baseUrl, FreeMoneyTransaction txn, string error_message ) : Hashtable
TransferSuccess ( FreeMoneyTransaction transaction ) : void
ValidateLandBuy ( Object osender, EventManager e ) : void
debugStringDict ( object>.Dictionary strs ) : void
processLandBuy ( Object osender, EventManager e ) : void

메소드 상세

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, string text ) : void
agentID UUID
amount int
text string
리턴 void

ApplyUploadCharge() 공개 메소드

public ApplyUploadCharge ( UUID agentID, int amount, string text ) : void
agentID UUID
amount int
text string
리턴 void

BitcoinInitializePaymentPage() 공개 메소드

public BitcoinInitializePaymentPage ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
리턴 System.Collections.Hashtable

BuyerInfo() 공개 메소드

public BuyerInfo ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
리턴 System.Collections.Hashtable

Close() 공개 메소드

public Close ( ) : void
리턴 void

EconomyDataRequestHandler() 공개 메소드

Event called Economy Data Request handler.
public EconomyDataRequestHandler ( UUID agentId ) : void
agentId UUID
리턴 void

FirstRegionLoaded() 공개 메소드

public FirstRegionLoaded ( ) : void
리턴 void

GetBalance() 공개 메소드

public GetBalance ( UUID agentID ) : int
agentID UUID
리턴 int

HandleBitcoinConfirmationPing() 공개 메소드

public HandleBitcoinConfirmationPing ( Hashtable request_hash ) : Hashtable
request_hash System.Collections.Hashtable
리턴 System.Collections.Hashtable

HandleBitcoinRegistrationRequest() 공개 메소드

public HandleBitcoinRegistrationRequest ( Hashtable request_hash ) : Hashtable
request_hash System.Collections.Hashtable
리턴 System.Collections.Hashtable

IPN() 공개 메소드

public IPN ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
리턴 System.Collections.Hashtable

Initialise() 공개 메소드

public Initialise ( IConfigSource source ) : void
source 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

UploadCovered() 공개 메소드

public UploadCovered ( UUID agentID, int amount ) : bool
agentID UUID
amount int
리턴 bool

UserPage() 공개 메소드

public UserPage ( Hashtable request ) : Hashtable
request System.Collections.Hashtable
리턴 System.Collections.Hashtable

buy_func() 공개 메소드

public buy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

landBuy_func() 공개 메소드

public landBuy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

preflightBuyLandPrep_func() 공개 메소드

public preflightBuyLandPrep_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

quote_func() 공개 메소드

public quote_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint remoteClient ) : Nwc.XmlRpc.XmlRpcResponse
request Nwc.XmlRpc.XmlRpcRequest
remoteClient System.Net.IPEndPoint
리턴 Nwc.XmlRpc.XmlRpcResponse

requestPayPrice() 공개 메소드

public requestPayPrice ( IClientAPI client, UUID objectID ) : void
client IClientAPI
objectID UUID
리턴 void