PositionRestrictor.SyncArgs
A private struct in Root.Township, Alta.Pages. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Message data for PositionRestrictor syncs (reset location, haptics, item registration): an entity, an on or off flag and a position.
- Listed in Items, inventory and logic
- Nested in
PositionRestrictor
Constructors
| Member | What it is |
|---|---|
SyncArgs(NetworkEntity entity, bool isEnabled) | Creates a PositionRestrictor.SyncArgs from entity, isEnabled and position. |
SyncArgs(NetworkEntity entity, bool isEnabled, Vector3 position) | Creates a PositionRestrictor.SyncArgs from entity, isEnabled and position. |
Fields
| Member | What it is |
|---|---|
NetworkEntity entity | The item the message is about. |
bool isEnabled | On or off for the message, such as whether the item is now restricted. |
Vector3 position | Position to reset to, zero when unused. |
Used in
Members of other types that take, return or hold a SyncArgs: