15: 2011-09-13 (火) 10:44:05 iseki |
16: 2012-02-19 (日) 17:51:48 iseki |
| ** Events and delegate functions [#wfe0d130] | | ** Events and delegate functions [#wfe0d130] |
| - 略号 | | - 略号 |
- | -- MM -> Money Module, MS -> Money Server, VR -> Viewer | + | -- MM -> Money Module, MS -> Money Server, VW -> Viewer |
| -- RS -> Region(Robust) Server, US -> User(Robust) Server, SC -> External Script | | -- RS -> Region(Robust) Server, US -> User(Robust) Server, SC -> External Script |
| -- AS -> Aurora Server | | -- AS -> Aurora Server |
| **** LandBuy [#gb533cc8] | | **** LandBuy [#gb533cc8] |
| - event LandBuy OnValidateLandBuy; (EventManager.cs) | | - event LandBuy OnValidateLandBuy; (EventManager.cs) |
| + | - event LandBuy OnLandBuy; (EventManager.cs) |
| #br | | #br |
| | | |
- | **** LandBuy [#r0ef7e52] | |
- | - event LandBuy OnLandBuy; (EventManager.cs) | |
- | #br | |
| *** Events of [[Aurora-Sim]] [#y1feeb2e] | | *** Events of [[Aurora-Sim]] [#y1feeb2e] |
| | | |
| - Code: BuyMoney (5010) | | - Code: BuyMoney (5010) |
| | | |
- | 1. VR => XML RPC to helper SC ("getCurrencyQuote") => Response to VR | + | 1. VW => XML RPC to helper SC ("getCurrencyQuote") => Response to VW |
- | 2. VR => XML RPC to helper SC ("buyCurrency") -> SC.add_money() => XML RPC to MM ("AddBankerMoney") => ... | + | 2. VW => XML RPC to helper SC ("buyCurrency") -> SC.add_money() => XML RPC to MM ("AddBankerMoney") => ... |
- | => Response to VR | + | => Response to VW |
| + | - [[XML>../currency.php#ad93a73d]] |
| + | #br |
| | | |
| *** Buy Land [#a847a4c9] | | *** Buy Land [#a847a4c9] |
| | | |
| **** [[OpenSim]] [#zf9951d6] | | **** [[OpenSim]] [#zf9951d6] |
- | 1. VR => XML RPC to helper SC ("preflightBuyLandPrep") => Response to VR | + | 1. VW => XML RPC to helper SC ("preflightBuyLandPrep") => Response to VW |
| 2. MM.OnValidateLandBuy event -> MM.ValidateLandBuy() | | 2. MM.OnValidateLandBuy event -> MM.ValidateLandBuy() |
| 3. MM.OnLandBuy event -> MM.processLandBuy() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney") | | 3. MM.OnLandBuy event -> MM.processLandBuy() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney") |
| - OnParcelBuy event, ProcessParcelBuy() は Aurora の Land/ParcelManagementModule.cs で定義 | | - OnParcelBuy event, ProcessParcelBuy() は Aurora の Land/ParcelManagementModule.cs で定義 |
| | | |
- | 1. VR => XML RPC to helper SC ("preflightBuyLandPrep") => Response to VR | + | 1. VW => XML RPC to helper SC ("preflightBuyLandPrep") => Response to VW |
| 2. OnParcelBuy event -> ProcessParcelBuy() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney") | | 2. OnParcelBuy event -> ProcessParcelBuy() -> MM.TransferMoney() => XML RPC to MS ("TransferMoney") |
| | | |
| *** XML RPC (from MoneyServer): [#d8111c1e] | | *** XML RPC (from MoneyServer): [#d8111c1e] |
| XML RPC from MS ("OnMoneyTransfered") => MM.OnMoneyTransferedHandler() -> money() event | | XML RPC from MS ("OnMoneyTransfered") => MM.OnMoneyTransferedHandler() -> money() event |
- | XML RPC from MS ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VR | + | XML RPC from MS ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VW |
| #br | | #br |
| | | |
| *** XML RPC (from external script) [#f71155df] | | *** XML RPC (from external script) [#f71155df] |
- | XML RPC from SC ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VR | + | XML RPC from SC ("UpdateBalance") => MM.BalanceUpdateHandler() => Notify to VW |
| XML RPC from SC ("GetBalance") => MM.GetBalanceHandler() => XML RPC to MS ("GetBalance") | | XML RPC from SC ("GetBalance") => MM.GetBalanceHandler() => XML RPC to MS ("GetBalance") |
| => Response to SC | | => Response to SC |
- | XML RPC from SC ("UserAlert") => MM.UserAlertHandler() => Message to VR | + | XML RPC from SC ("UserAlert") => MM.UserAlertHandler() => Message to VW |
| | | |
| - SC.AddBankerMoney: Transaction Type is BuyMoney (5010) | | - SC.AddBankerMoney: Transaction Type is BuyMoney (5010) |