Events and handlers
Client events
Events and handlers for REC_Core, with configuration and implementation details.
- Added
- Updated
| Event | Arguments | Payload |
|---|---|---|
REC_Core:client:onPlayerLoaded | payload | character |
REC_Core:client:onPlayerUnloaded | payload | reason |
REC_Core:client:onMoneyChange | payload | citizenId, account, action, amount, delta, balance, reason, resource |
REC_Core:client:onJobUpdate | payload | citizenId, job, oldJob |
REC_Core:client:onGangUpdate | payload | citizenId, gang, oldGang |
REC_Core:client:onCharinfoChange | payload | citizenId, key, oldValue, newValue, charinfo |
REC_Core:client:onMetadataChange | payload | citizenId, key, oldValue, newValue |
REC_Core:client:onValueChange | payload | namespace, dataKey, value |
Client onValueChange carries value; the server event carries oldValue and newValue.
Client onPlayerLoaded also runs when a full snapshot is reapplied, so initialization listeners should tolerate repeated calls.
Listen with AddEventHandler; these public observation events are not network entry points for granting money or editing characters.
