Class TestAccess
Establishes explicitly requested test access on owned disposable actors only.
public static class TestAccess
- Inheritance
-
objectTestAccess
Methods
Ensure(GameActor, TestActorRole, bool)
Enables devcommands and, when needed, acknowledges cheats on this owned disposable profile. Menu setup enables devcommands only: the character does not exist yet. Call again after joining. Does not change AllowOnServerClients or bypass a role refusal; stage that setting when client mutations are needed.
public static TestAccessState Ensure(GameActor actor, TestActorRole role, bool clientMutations = false)
Parameters
actorGameActorroleTestActorRoleclientMutationsbool
Returns
Read(GameActor)
Reads the pinned core's structured observation. Missing or older core commands refuse setup.
public static TestAccessState Read(GameActor actor)
Parameters
actorGameActor