TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.BoolPacket Class Reference

Simple packet with just a boolean value. More...

Inheritance diagram for TilePlus.BoolPacket:
Collaboration diagram for TilePlus.BoolPacket:

Public Member Functions

 BoolPacket (Object sourceInstance)
 Initializes a new instance of the BoolPacket class.
 BoolPacket (bool value, Object? sourceInstance=null)
 Initializes a new instance of the BoolPacket class.
Public Member Functions inherited from TilePlus.MessagePacket< T >
virtual void Reset ()
 Reset the SourceInstance. Override for additional resets of variables holding references.

Public Attributes

bool m_Bool
 payload

Additional Inherited Members

Protected Member Functions inherited from TilePlus.MessagePacket< T >
 MessagePacket (Object? sourceInstance)
 Source Instance for this packet. Can be null.
Properties inherited from TilePlus.MessagePacket< T >
ObjectSourceInstance [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.

Detailed Description

Simple packet with just a boolean value.

Constructor & Destructor Documentation

◆ BoolPacket() [1/2]

TilePlus.BoolPacket.BoolPacket ( Object sourceInstance)

Initializes a new instance of the BoolPacket class.

Parameters
sourceInstanceSource of message or null

◆ BoolPacket() [2/2]

TilePlus.BoolPacket.BoolPacket ( bool value,
Object? sourceInstance = null )

Initializes a new instance of the BoolPacket class.

Parameters
valuevalue for this packet
sourceInstanceSource of message or null

Member Data Documentation

◆ m_Bool

bool TilePlus.BoolPacket.m_Bool

payload


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