C# 클래스 Universe.Modules.Currency.CurrencyModule

상속: IMoneyModule, INonSharedRegionModule
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
Balance ( UUID agentID ) : int
Charge ( UUID agentID, int amount, string description, TransactionType type ) : bool
Close ( ) : void
EconomyDataRequestHandler ( IClientAPI remoteClient ) : void

Event called Economy Data Request handler.

GetGroupBalance ( UUID groupID ) : GroupBalance
GetGroupTransactions ( UUID groupID, UUID agentID, int currentInterval, int intervalDays ) : List
GetPurchaseHistory ( System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
GetPurchaseHistory ( UUID UserID, System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
GetPurchaseHistory ( UUID toAgentID, int period, string periodType ) : List
GetPurchaseHistory ( int period, string periodType, uint start, uint count ) : List
GetTransactionHistory ( System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
GetTransactionHistory ( UUID UserID, UUID fromAgentID, System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
GetTransactionHistory ( UUID toAgentID, UUID fromAgentID, int period, string periodType ) : List
GetTransactionHistory ( UUID toAgentID, int period, string periodType ) : List
GetTransactionHistory ( int period, string periodType, uint start, uint count ) : List
GroupCurrencyTransfer ( UUID groupID, UUID fromID, bool payUser, string toObjectName, UUID fromObjectID, string fromObjectName, int amount, string description, TransactionType type, UUID transactionID ) : bool
Initialize ( IConfigSource config ) : void

Startup

NumberOfPurchases ( UUID UserID ) : uint
NumberOfTransactions ( UUID toAgent, UUID fromAgent ) : uint
ObjectGiveMoney ( UUID objectID, string objectName, UUID fromID, UUID toID, int amount ) : bool
ProcessMoneyTransferRequest ( UUID source, UUID destination, int amount, int transactiontype, string description ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
Transfer ( UUID toID, UUID fromID, UUID toObjectID, string toObjectName, UUID fromObjectID, string fromObjectName, int amount, string description, TransactionType type ) : bool
Transfer ( UUID toID, UUID fromID, int amount, string description, TransactionType type ) : bool
Transfer ( UUID objectID, UUID agentID, int amount ) : void

보호된 메소드들

메소드 설명
OnClosingClient ( IClientAPI client ) : void
OnNewClient ( IClientAPI client ) : void

New Client Event Handler

SendMoneyBalance ( IClientAPI client, UUID agentID, UUID SessionID, UUID transactionID ) : void

Sends the stored money balance to the client

buy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
landBuy_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
preflightBuyLandPrep_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse
quote_func ( Nwc.XmlRpc.XmlRpcRequest request, IPEndPoint ep ) : Nwc.XmlRpc.XmlRpcResponse

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

Balance() 공개 메소드

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

Charge() 공개 메소드

public Charge ( UUID agentID, int amount, string description, TransactionType type ) : bool
agentID UUID
amount int
description string
type TransactionType
리턴 bool

Close() 공개 메소드

public Close ( ) : void
리턴 void

EconomyDataRequestHandler() 공개 메소드

Event called Economy Data Request handler.
public EconomyDataRequestHandler ( IClientAPI remoteClient ) : void
remoteClient IClientAPI
리턴 void

GetGroupBalance() 공개 메소드

public GetGroupBalance ( UUID groupID ) : GroupBalance
groupID UUID
리턴 Universe.Framework.Modules.GroupBalance

GetGroupTransactions() 공개 메소드

public GetGroupTransactions ( UUID groupID, UUID agentID, int currentInterval, int intervalDays ) : List
groupID UUID
agentID UUID
currentInterval int
intervalDays int
리턴 List

GetPurchaseHistory() 공개 메소드

public GetPurchaseHistory ( System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
dateStart System.DateTime
dateEnd System.DateTime
start uint
count uint
리턴 List

GetPurchaseHistory() 공개 메소드

public GetPurchaseHistory ( UUID UserID, System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
UserID UUID
dateStart System.DateTime
dateEnd System.DateTime
start uint
count uint
리턴 List

GetPurchaseHistory() 공개 메소드

public GetPurchaseHistory ( UUID toAgentID, int period, string periodType ) : List
toAgentID UUID
period int
periodType string
리턴 List

GetPurchaseHistory() 공개 메소드

public GetPurchaseHistory ( int period, string periodType, uint start, uint count ) : List
period int
periodType string
start uint
count uint
리턴 List

GetTransactionHistory() 공개 메소드

public GetTransactionHistory ( System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
dateStart System.DateTime
dateEnd System.DateTime
start uint
count uint
리턴 List

GetTransactionHistory() 공개 메소드

public GetTransactionHistory ( UUID UserID, UUID fromAgentID, System.DateTime dateStart, System.DateTime dateEnd, uint start, uint count ) : List
UserID UUID
fromAgentID UUID
dateStart System.DateTime
dateEnd System.DateTime
start uint
count uint
리턴 List

GetTransactionHistory() 공개 메소드

public GetTransactionHistory ( UUID toAgentID, UUID fromAgentID, int period, string periodType ) : List
toAgentID UUID
fromAgentID UUID
period int
periodType string
리턴 List

GetTransactionHistory() 공개 메소드

public GetTransactionHistory ( UUID toAgentID, int period, string periodType ) : List
toAgentID UUID
period int
periodType string
리턴 List

GetTransactionHistory() 공개 메소드

public GetTransactionHistory ( int period, string periodType, uint start, uint count ) : List
period int
periodType string
start uint
count uint
리턴 List

GroupCurrencyTransfer() 공개 메소드

public GroupCurrencyTransfer ( UUID groupID, UUID fromID, bool payUser, string toObjectName, UUID fromObjectID, string fromObjectName, int amount, string description, TransactionType type, UUID transactionID ) : bool
groupID UUID
fromID UUID
payUser bool
toObjectName string
fromObjectID UUID
fromObjectName string
amount int
description string
type TransactionType
transactionID UUID
리턴 bool

Initialize() 공개 메소드

Startup
public Initialize ( IConfigSource config ) : void
config IConfigSource
리턴 void

NumberOfPurchases() 공개 메소드

public NumberOfPurchases ( UUID UserID ) : uint
UserID UUID
리턴 uint

NumberOfTransactions() 공개 메소드

public NumberOfTransactions ( UUID toAgent, UUID fromAgent ) : uint
toAgent UUID
fromAgent UUID
리턴 uint

ObjectGiveMoney() 공개 메소드

public ObjectGiveMoney ( UUID objectID, string objectName, UUID fromID, UUID toID, int amount ) : bool
objectID UUID
objectName string
fromID UUID
toID UUID
amount int
리턴 bool

OnClosingClient() 보호된 메소드

protected OnClosingClient ( IClientAPI client ) : void
client IClientAPI
리턴 void

OnNewClient() 보호된 메소드

New Client Event Handler
protected OnNewClient ( IClientAPI client ) : void
client IClientAPI
리턴 void

ProcessMoneyTransferRequest() 공개 메소드

public ProcessMoneyTransferRequest ( UUID source, UUID destination, int amount, int transactiontype, string description ) : void
source UUID
destination UUID
amount int
transactiontype int
description string
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

SendMoneyBalance() 보호된 메소드

Sends the stored money balance to the client
protected SendMoneyBalance ( IClientAPI client, UUID agentID, UUID SessionID, UUID transactionID ) : void
client IClientAPI
agentID UUID
SessionID UUID
transactionID UUID
리턴 void

Transfer() 공개 메소드

public Transfer ( UUID toID, UUID fromID, UUID toObjectID, string toObjectName, UUID fromObjectID, string fromObjectName, int amount, string description, TransactionType type ) : bool
toID UUID
fromID UUID
toObjectID UUID
toObjectName string
fromObjectID UUID
fromObjectName string
amount int
description string
type TransactionType
리턴 bool

Transfer() 공개 메소드

public Transfer ( UUID toID, UUID fromID, int amount, string description, TransactionType type ) : bool
toID UUID
fromID UUID
amount int
description string
type TransactionType
리턴 bool

Transfer() 공개 메소드

public Transfer ( UUID objectID, UUID agentID, int amount ) : void
objectID UUID
agentID UUID
amount int
리턴 void

buy_func() 보호된 메소드

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

landBuy_func() 보호된 메소드

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

preflightBuyLandPrep_func() 보호된 메소드

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

quote_func() 보호된 메소드

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