flagflag  If you want to see English page, please click "English" Button at Left.
Page Top

Events anchor.png

  • OpenSim では IClientAPI.cs の event は EventManager からアクセス可
Page Top
MoneyTransferRequest anchor.png
  • 他のアバターへの直接的な支払い,ギフト (Gift: 5001)
  • event MoneyTransferRequest OnMoneyTransferRequest; (IClientAPI.cs)
MM.MoneyTransferAction() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney")
  • オブジェクトを経由した,他のアバターへの間接的な支払い (PayObject: 5008)
  • LSL の money イベントが発生する
MM.MoneyTransferAction() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney")
Page Top
EconomyDataRequest anchor.png
  • event EconomyDataRequest OnEconomyDataRequest; (IClientAPI.cs)
     
Page Top
MoneyBalanceRequest anchor.png
  • event MoneyBalanceRequest OnMoneyBalanceRequest; (IClientAPI.cs)
     
Page Top
ParcelBuy anchor.png
  • event ParcelBuy OnParcelBuy; (IClientAPI.cs)
     
Page Top
ParcelBuyPass anchor.png
  • event ParcelBuyPass OnParcelBuyPass; (IClientAPI.cs)
     
Page Top
RequestPayPrice anchor.png
  • event RequestPayPrice OnRequestPayPrice; (IClientAPI.cs)
     
Page Top
OnObjectBuy anchor.png
  • オブジェクト購入時に発生 (コピー,オリジナル,コンテンツ) (PayObject: 5008)
  • event ObjectBuy OnObjectBuy; (IClientAPI.cs)
MM.OnObjectBuy() -> MM.BuyObject()
                 -> MM.Transfer() => XML RPC to MS ("TransferMoney")
  • BuyObject(): OpenSim/Region/CoreModules/World/Objects​/BuySell/BuySellModule.cs
     
Page Top
BuyObjectInventory anchor.png
  • event BuyObjectInventory OnBuyObjectInventory; (IClientAPI.cs)
     
Page Top
MoneyTransferEvent anchor.png
  • event MoneyTransferEvent OnMoneyTransfer; (EventManager.cs)
     
Page Top
LandBuy anchor.png
  • event LandBuy OnValidateLandBuy; (EventManager.cs)
  • event LandBuy OnLandBuy; (EventManager.cs)
     
 
Page Top

Calling Sequence of Functions anchor.png

Page Top

LSL anchor.png

Page Top
llGiveMoney() anchor.png
  • Code: ObjectPays (5009)
MM.ObjectGiveMoney() -> MM.TransferMoney()      => XML RPC to MS ("TransferMoney")
                     -> MM.ForceTransferMoney() => XML RPC to MS ("ForceTransferMoney")
Page Top

Buy Money from System anchor.png

  • Code: BuyMoney (5010)
1. VW => XML RPC to helper SC ("getCurrencyQuote") => Response to VW 
2. VW => XML RPC to helper SC ("buyCurrency") -> SC.add_money() => XML RPC("AddBankerMoney") => MM => XML RPC("AddBankerMoney") => MS
                                              => Response to VW
Page Top

Buy Land anchor.png

  • Code: LandSale (5002)
1. VW => XML RPC to helper SC ("preflightBuyLandPrep") => Response to VW
2. MM.OnValidateLandBuy event -> MM.ValidateLandBuy()
3. MM.OnLandBuy event -> MM.processLandBuy() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney")
  • 資金が足りないとき
2. VW => XML RPC to helper SC ("buyLandPrep") => SC.add_money() => XML RPC("AddBankerMoney") => MM => XML RPC("AddBankerMoney") => MS
                                             => Response to VW
Page Top

Upload Inventory anchor.png

1. event -> RS.NewAgentInventoryRequest() -> MM.UploadCovered()
2. event -> RS.AddUploadedInventoryItem() -> MM.ApplyUploadCharge()
  • OpenSim/Region/ClientStack/Linden/Caps/B​unchOfCaps/BunchOfCaps.cs
    • NewAgentInventoryRequest() --> UploadCovered()
    • UploadCompleteHandler() -->
      • OpenSim/Region/Framework/Scenes/Scene.In​ventory.cs:AddUploadedInventoryItem() --> ApplyUploadCharge()
  • OpenSim/Region/ClientStack/Linden/Caps/N​ewFileAgentInventoryVariablePriceModule.​cs
    • NewAgentInventoryRequest() --> UploadCovered()
  • OpenSim/Region/CoreModules/Agent/AssetTr​ansaction/AssetTransactionModule.cs
    • HandleUDPUploadRequest() --> UploadCovered()
       
Page Top

Create Group anchor.png

event -> CreateGroup() -> MM.AmountCharge()
                       -> MM.ApplyCharge() -> MM.PayMoneyCharge() => XML RPC to MS ("PayMoneyCharge")
  • OpenSim/Region/OptionalModules/Avatar/Xm​lRpcGroups/GroupsModule.cs: CreateGroup()
     
Page Top

XML RPC (from MoneyServer): anchor.png

XML RPC from MS ("OnMoneyTransfered") => MM.OnMoneyTransferedHandler() -> money() event
XML RPC from MS ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VW
 
Page Top

XML RPC (from external script) anchor.png

XML RPC from SC ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VW
XML RPC from SC ("GetBalance") => MM.GetBalanceHandler() => XML RPC to MS ("GetBalance")
                                                         => Response to SC
XML RPC from SC ("UserAlert") => MM.UserAlertHandler() => Message to VW
  • SC.AddBankerMoney: Transaction Type is BuyMoney (5010)
  • SC.SendMoney: Transaction Type is ReferBonus (5003)
XML RPC from SC ("AddBankerMoney") => MM.AddBankerMoneyHandler() -> MM.AddBankerMoney() => XML RPC to MS ("AddBankerMoney") => MS.handleAddBankerMoney()
XML RPC from SC ("SendMoney") => MM.SendMoneyHandler() -> MM.SendMoney() => XML RPC to MS ("SendMoney")
 

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 1048, today: 1, yesterday: 0
最終更新: 2014-11-30 (日) 22:14:38 (JST) (1391d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2018年 9月翌月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
<今日>

オンライン状況

20 人のユーザが現在オンラインです。 (8 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 20

もっと...

アクセスカウンタ

今日 : 1080108010801080
昨日 : 2144214421442144
総計 : 9072989907298990729899072989907298990729899072989
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com