Add simple SendMessage with single target

This commit is contained in:
Damian Korczowski
2021-04-16 22:08:59 +02:00
parent ed82787093
commit e7f899309c
5 changed files with 28 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ public:
virtual bool PopEvent(NetworkEvent* eventPtr) = 0;
virtual void SendMessage(NetworkChannelType channelType, const NetworkMessage& message) = 0;
virtual void SendMessage(NetworkChannelType channelType, const NetworkMessage& message, NetworkConnection target) = 0;
virtual void SendMessage(NetworkChannelType channelType, const NetworkMessage& message, Array<NetworkConnection, HeapAllocation> targets) = 0;
// TODO: Stats API