L$ System

From Second Life Wiki
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.