What the Client Adapter Does (V2)
The client-side adapter is responsible for:- Notifying Doctorjob when a character has loaded (so the script can load diseases/patient state)
- Clearing diseases on revive/respawn (framework-dependent)
- Exposing a bandana state function used by transmission/protection logic
Required behavior
1) Trigger player load
On your framework’s “player loaded” / “character selected” event, call:2) Heal all on revive / respawn
On your framework revive/respawn events, call:3) Implement IsBandanaOn()
You must provide a global function named IsBandanaOn() that returns a boolean.
- Frameworks that expose a synced state can read it directly.
- Otherwise, listen for
Config.bandanaEventand store the last known state.
IsBandanaOn() returns the correct current state.