L$ System

From Second Life Wiki
Revision as of 20:49, 10 January 2007 by Yumi Murakami (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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].