OpenSim/MoneyServer/Devel/function_call/AuroraSim
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
** Events and delegate functions [#ddbad7ff]
- 略号
-- MM -> Money Module, MS -> Money Server, VW -> Viewer
-- RS -> Region(Robust) Server, US -> User(Robust) Server...
-- AS -> Aurora Server
*** Events [#p437f4da]
**** MoneyTransferRequest [#m289cd83]
- 他のアバターへの直接的な支払い,ギフト (Gift: 5001)
- event MoneyTransferRequest OnMoneyTransferRequest; (ICl...
- MM.MoneyTransferRequest() は MoneyTransferArgs と Scene...
MM.MoneyTransferRequest() -> MM.MoneyTransferAction() ->...
- オブジェクトを経由した,他のアバターへの間接的な支払い ...
- LSL の money イベントが発生する
MM.MoneyTransferRequest() -> MM.MoneyTransferAction() ->...
**** EconomyDataRequest [#w1e4235c]
- event EconomyDataRequest OnEconomyDataRequest; (IClient...
**** MoneyBalanceRequest [#f5c63c00]
- event MoneyBalanceRequest OnMoneyBalanceRequest; (IClie...
**** ParcelBuy [#b4471bdf]
- event ParcelBuy OnParcelBuy; (IClientAPI.cs)
**** ParcelBuyPass [#u466718e]
- event ParcelBuyPass OnParcelBuyPass; (IClientAPI.cs)
**** RequestPayPrice [#s5ddf548]
- event RequestPayPrice OnRequestPayPrice; (IClientAPI.cs)
**** OnObjectBuy [#ef8a0c53]
- オブジェクト購入時に発生 (コピー,オリジナル,コンテン...
- event ObjectBuy OnObjectBuy; (IClientAPI.cs)
- ObjectBuy(), BuyObject() は Aurora/Modules/World/Entiti...
ObjectBuy() -> MM.Transfer() => XML RPC to MS ("Transfer...
-> BuyObject()
**** BuyObjectInventory [#t5e25a35]
- event BuyObjectInventory OnBuyObjectInventory; (IClient...
**** LandBuy [#be10ec33]
- event LandBuy OnValidateBuyLan; (ISceneEntity.cs)
** Calling Sequence of Functions [#l66a8cdf]
*** LSL [#bf809af9]
**** llGiveMoney() [#s5a527b3]
- Code: ObjectPays (5009)
MM.ObjectGiveMoney() -> MM.TransferMoney() => XML R...
-> MM.ForceTransferMoney() => XML R...
*** Buy Money from System [#h61acd3d]
- Code: BuyMoney (5010)
1. VW => XML RPC to helper SC ("getCurrencyQuote") => Re...
2. VW => XML RPC to helper SC ("buyCurrency") -> SC.add_...
=> Respons...
- [[XML>../../currency.php#ad93a73d]]
*** Buy Land [#n4a0df9d]
- Code: LandSale (5002)
- OnParcelBuy event, ProcessParcelBuy() は Aurora の Land...
1. VW => XML RPC to helper SC ("preflightBuyLandPrep") =...
2. OnParcelBuy event -> ProcessParcelBuy() -> MM.Transfe...
*** Upload Inventory [#of53fb6b]
1. event -> AS.NewAgentInventoryRequest() -> AS.Request...
2. event -> AS.UploadCompleteHandler() -> AS.RequestUplo...
- TCP: OpenSim/Services/CapsService/CAPModules/InventoryC...
- TCP: OpenSim/Services/CapsService/CAPModules/InventoryC...
- UDP: OpenSim/Region/CoreModules/Agent/AssetTransaction/...
- %%OpenSim/Services/CapsService/CAPModules/InventoryCAPS...
- %%OpenSim/Services/CapsService/CAPModules/InventoryCAPS...
----
- Aurora-Sim では seed_capability として Robust サーバ(Au...
- 従って,Uoload では Regionサーバでイベントが発生せず,R...
+ Robust サーバ(Aurora.Server) に MoneyModule をロードす...
-- 通常のモジュールの読み込みとしては?
-- OpenSim/Services/XXX/ にプログラムを作って,サービスと...
-- 詳細不明で断念.
+ seed_capability を強制的に Regionサーバにする.
-- OpenSim/Services/LLLoginService/LLLoginResponse.cs で...
-- 上記の手法により,seed_capability を強制的に Regionサ...
-- この場合,OpenSim/Region/CoreModules/Agent/AssetTransa...
-- ただし,Regionサーバで Capabilityが定義されないため,A...
-- 因みに,OpenSim ではこの部分には FillOutSeedCap() とい...
FillOutSeedCap(aCircuit, destination, clientIP);
private void FillOutSeedCap(AgentCircuitData aCircuit, G...
{
SeedCapability = destination.ServerURI + CapsUtil.G...
}
+ Robust サーバ(Aurora.Server) から Regionサーバの MoneyM...
-- penSim/Services/CapsService/CAPModules/InventoryCAPS.c...
-- この手法を採用!!
*** Create Group [#h4ccd93a]
event -> CreateGroup() -> MM.AmountCharge()
-> MM.ApplyCharge() -> MM.PayMone...
- OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.c...
*** XML RPC (from MoneyServer): [#q1135f89]
XML RPC from MS ("OnMoneyTransfered") => MM.OnMoneyTrans...
XML RPC from MS ("UpdateBalance") => MM.BalanceUpdateHan...
*** XML RPC (from external script) [#z94867d7]
XML RPC from SC ("UpdateBalance") => MM.BalanceUpdateHan...
XML RPC from SC ("GetBalance") => MM.GetBalanceHandler()...
...
XML RPC from SC ("UserAlert") => MM.UserAlertHandler() =...
- SC.AddBankerMoney: Transaction Type is BuyMoney (5010)
- SC.SendMoney: Transaction Type is ReferBonus (5003)
XML RPC from SC ("AddBankerMoney") => MM.AddBankerMoneyH...
XML RPC from SC ("SendMoney") => MM.SendMoneyHandler() -...
*** XML RPC (from Aurora.Server) [#m1c47cbe]
XML RPC from AS ("UploadCovered") => MM.UploadCoveredHan...
XML RPC from AS ("UploadCharge") => MM.UploadChargeHandl...
#br
終了行:
** Events and delegate functions [#ddbad7ff]
- 略号
-- MM -> Money Module, MS -> Money Server, VW -> Viewer
-- RS -> Region(Robust) Server, US -> User(Robust) Server...
-- AS -> Aurora Server
*** Events [#p437f4da]
**** MoneyTransferRequest [#m289cd83]
- 他のアバターへの直接的な支払い,ギフト (Gift: 5001)
- event MoneyTransferRequest OnMoneyTransferRequest; (ICl...
- MM.MoneyTransferRequest() は MoneyTransferArgs と Scene...
MM.MoneyTransferRequest() -> MM.MoneyTransferAction() ->...
- オブジェクトを経由した,他のアバターへの間接的な支払い ...
- LSL の money イベントが発生する
MM.MoneyTransferRequest() -> MM.MoneyTransferAction() ->...
**** EconomyDataRequest [#w1e4235c]
- event EconomyDataRequest OnEconomyDataRequest; (IClient...
**** MoneyBalanceRequest [#f5c63c00]
- event MoneyBalanceRequest OnMoneyBalanceRequest; (IClie...
**** ParcelBuy [#b4471bdf]
- event ParcelBuy OnParcelBuy; (IClientAPI.cs)
**** ParcelBuyPass [#u466718e]
- event ParcelBuyPass OnParcelBuyPass; (IClientAPI.cs)
**** RequestPayPrice [#s5ddf548]
- event RequestPayPrice OnRequestPayPrice; (IClientAPI.cs)
**** OnObjectBuy [#ef8a0c53]
- オブジェクト購入時に発生 (コピー,オリジナル,コンテン...
- event ObjectBuy OnObjectBuy; (IClientAPI.cs)
- ObjectBuy(), BuyObject() は Aurora/Modules/World/Entiti...
ObjectBuy() -> MM.Transfer() => XML RPC to MS ("Transfer...
-> BuyObject()
**** BuyObjectInventory [#t5e25a35]
- event BuyObjectInventory OnBuyObjectInventory; (IClient...
**** LandBuy [#be10ec33]
- event LandBuy OnValidateBuyLan; (ISceneEntity.cs)
** Calling Sequence of Functions [#l66a8cdf]
*** LSL [#bf809af9]
**** llGiveMoney() [#s5a527b3]
- Code: ObjectPays (5009)
MM.ObjectGiveMoney() -> MM.TransferMoney() => XML R...
-> MM.ForceTransferMoney() => XML R...
*** Buy Money from System [#h61acd3d]
- Code: BuyMoney (5010)
1. VW => XML RPC to helper SC ("getCurrencyQuote") => Re...
2. VW => XML RPC to helper SC ("buyCurrency") -> SC.add_...
=> Respons...
- [[XML>../../currency.php#ad93a73d]]
*** Buy Land [#n4a0df9d]
- Code: LandSale (5002)
- OnParcelBuy event, ProcessParcelBuy() は Aurora の Land...
1. VW => XML RPC to helper SC ("preflightBuyLandPrep") =...
2. OnParcelBuy event -> ProcessParcelBuy() -> MM.Transfe...
*** Upload Inventory [#of53fb6b]
1. event -> AS.NewAgentInventoryRequest() -> AS.Request...
2. event -> AS.UploadCompleteHandler() -> AS.RequestUplo...
- TCP: OpenSim/Services/CapsService/CAPModules/InventoryC...
- TCP: OpenSim/Services/CapsService/CAPModules/InventoryC...
- UDP: OpenSim/Region/CoreModules/Agent/AssetTransaction/...
- %%OpenSim/Services/CapsService/CAPModules/InventoryCAPS...
- %%OpenSim/Services/CapsService/CAPModules/InventoryCAPS...
----
- Aurora-Sim では seed_capability として Robust サーバ(Au...
- 従って,Uoload では Regionサーバでイベントが発生せず,R...
+ Robust サーバ(Aurora.Server) に MoneyModule をロードす...
-- 通常のモジュールの読み込みとしては?
-- OpenSim/Services/XXX/ にプログラムを作って,サービスと...
-- 詳細不明で断念.
+ seed_capability を強制的に Regionサーバにする.
-- OpenSim/Services/LLLoginService/LLLoginResponse.cs で...
-- 上記の手法により,seed_capability を強制的に Regionサ...
-- この場合,OpenSim/Region/CoreModules/Agent/AssetTransa...
-- ただし,Regionサーバで Capabilityが定義されないため,A...
-- 因みに,OpenSim ではこの部分には FillOutSeedCap() とい...
FillOutSeedCap(aCircuit, destination, clientIP);
private void FillOutSeedCap(AgentCircuitData aCircuit, G...
{
SeedCapability = destination.ServerURI + CapsUtil.G...
}
+ Robust サーバ(Aurora.Server) から Regionサーバの MoneyM...
-- penSim/Services/CapsService/CAPModules/InventoryCAPS.c...
-- この手法を採用!!
*** Create Group [#h4ccd93a]
event -> CreateGroup() -> MM.AmountCharge()
-> MM.ApplyCharge() -> MM.PayMone...
- OpenSim/Region/CoreModules/Avatar/Groups/GroupsModule.c...
*** XML RPC (from MoneyServer): [#q1135f89]
XML RPC from MS ("OnMoneyTransfered") => MM.OnMoneyTrans...
XML RPC from MS ("UpdateBalance") => MM.BalanceUpdateHan...
*** XML RPC (from external script) [#z94867d7]
XML RPC from SC ("UpdateBalance") => MM.BalanceUpdateHan...
XML RPC from SC ("GetBalance") => MM.GetBalanceHandler()...
...
XML RPC from SC ("UserAlert") => MM.UserAlertHandler() =...
- SC.AddBankerMoney: Transaction Type is BuyMoney (5010)
- SC.SendMoney: Transaction Type is ReferBonus (5003)
XML RPC from SC ("AddBankerMoney") => MM.AddBankerMoneyH...
XML RPC from SC ("SendMoney") => MM.SendMoneyHandler() -...
*** XML RPC (from Aurora.Server) [#m1c47cbe]
XML RPC from AS ("UploadCovered") => MM.UploadCoveredHan...
XML RPC from AS ("UploadCharge") => MM.UploadChargeHandl...
#br
ページ名: