flagflag  
15: 2011-09-13 (Tue) 10:44:05 iseki source 16: 2012-02-19 (Sun) 17:51:48 iseki source
Line 1: Line 1:
** 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
Line 50: Line 50:
**** 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]
Line 116: Line 114:
- 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]
Line 124: Line 124:
**** [[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")
Line 131: Line 131:
- 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")
Line 196: Line 196:
*** 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)


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Who's Online

32 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 32

more...

Access Counter

Today : 701701701
Yesterday : 5790579057905790
Total : 2365349723653497236534972365349723653497236534972365349723653497
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com