PositionPacket with Zone Manager reference.
More...
|
| | MessagePacket (Object? sourceInstance) |
| | Source Instance for this packet. Can be null.
|
| Object? | SourceInstance [get, set] |
| | The instance that's the source of the message. Can be null.
|
| ulong | Id [get, set] |
| | The ID of this packet. Packet recepients can test this to see if they're being sent the same message repeatedly. Note that 0 is not used except internally.
|
PositionPacket with Zone Manager reference.
◆ PositionZmPacket() [1/2]
| TilePlus.PositionZmPacket.PositionZmPacket |
( |
Object? | sourceInstance = null | ) |
|
Ctor.
- Parameters
-
| sourceInstance | Source of message or null |
◆ PositionZmPacket() [2/2]
| TilePlus.PositionZmPacket.PositionZmPacket |
( |
Vector3Int | pos, |
|
|
TpZoneManager | zoneManager, |
|
|
Object? | sourceInstance = null ) |
Create a position packet with a ZoneManager reference.
- Parameters
-
| pos | The position |
| zoneManager | a valid ZoneManager instance |
| sourceInstance | Source of message or null |
◆ Reset()
| override void TilePlus.PositionZmPacket.Reset |
( |
| ) |
|
|
virtual |
◆ m_Position
| Vector3Int TilePlus.PositionZmPacket.m_Position |
◆ m_ZoneManager
The documentation for this class was generated from the following file:
- /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/StaticLib/ClassesEnums/MessagingClasses.cs