mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
17 lines
500 B
C#
17 lines
500 B
C#
// incoming message queue of <connectionId, message>
|
|
// (not a HashSet because one connection can have multiple new messages)
|
|
namespace Telepathy
|
|
{
|
|
public struct Message
|
|
{
|
|
public uint connectionId;
|
|
public EventType eventType;
|
|
public byte[] data;
|
|
public Message(uint connectionId, EventType eventType, byte[] data)
|
|
{
|
|
this.connectionId = connectionId;
|
|
this.eventType = eventType;
|
|
this.data = data;
|
|
}
|
|
}
|
|
} |