L$ System

From Second Life Wiki
Revision as of 20:50, 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 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.