Difference between revisions of "L$ System"

From Second Life Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 
The user's current L$ balance is tracked by the client in the status bar object (class ''LLStatusBar'' with global instance ''gStatusBar''), from which it can be read via ''getBalance()''.  This is kept in sync with the server via the method ''process_money_balance_reply'' in ''LLViewerMessage''.  When a money change event occurs, the message box is generated by ''process_money_balance_reply'', but the sound effect (if there is one) is generated by the ''setBalance'' method of ''LLStatusBar''.
The user's current L$ balance is tracked by the client in the status bar object (class [i]LLStatusBar[/i] with global instance [i]gStatusBar[/i]), from which it can be read via [i]getBalance()[/i]. The   This is kept in sync with the server via the method [i]process_money_balance_reply[/i] in [i]LLViewerMessage[/i].  When a money change event occurs, the message box is generated by [i]process_money_balance_reply[/i], but the sound effect (if there is one) is generated by the [i]setBalance[/i] in [i]LLStatusBar[/i].

Latest revision as of 19:50, 10 January 2007

The user's current L$ balance is tracked by the client in the status bar object (class LLStatusBar with global instance gStatusBar), from which it can be read via getBalance(). This is kept in sync with the server via the method process_money_balance_reply in LLViewerMessage. When a money change event occurs, the message box is generated by process_money_balance_reply, but the sound effect (if there is one) is generated by the setBalance method of LLStatusBar.