Interface for using TpLib SendMessage methods.
More...
|
| void | MessageTarget (T sentPacket) |
| | Send a message of type T.
|
| bool | CanAcceptMessage () |
| | Optional "are you ready?" method that can be used in filtering prior to sending a message. Useful in some edge cases. Override in implementation if necc. NOTE this is NOT checked internally somehow. You have to use a filter and test this.
|
Interface for using TpLib SendMessage methods.
- Template Parameters
-
| T | Type for sending a message |
◆ CanAcceptMessage()
| bool TilePlus.ITpMessaging< in T >.CanAcceptMessage |
( |
| ) |
|
Optional "are you ready?" method that can be used in filtering prior to sending a message. Useful in some edge cases. Override in implementation if necc. NOTE this is NOT checked internally somehow. You have to use a filter and test this.
- Returns
- True if the tile is prepared to get the message.
◆ MessageTarget()
| void TilePlus.ITpMessaging< in T >.MessageTarget |
( |
T | sentPacket | ) |
|
Send a message of type T.
- Parameters
-
| sentPacket | The sent packet. |
The documentation for this interface was generated from the following file:
- /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/Interface/ITpMessaging.cs