Пример #1
0
        private void SendData(GuideServiceMessageType messageType, Guid guideId, Action <BinaryWriter> writeData = null)
        {
            var message = new MessageWrapper(ClientType.Guide, (int)messageType, guideId);

            _clientTerminal.SendMessage(message.WriteBuffer(writeData));
        }
Пример #2
0
 private void SendData(ScavengerServiceMessageType messageType, Guid scavengerId, Action<BinaryWriter> writeData = null)
 {
     var message = new MessageWrapper(ClientType.Scavenger, (int)messageType, scavengerId);
     _clientTerminal.SendMessage(message.WriteBuffer(writeData));
 }