void HandleMessage(SaveClientDataRequestMessage msg) { ClientSaveManager.Save(m_world, msg.ID); }
void HandleMessage(SaveClientDataRequestMessage msg) { string data = ClientSaveHelper.SerializeClientObjects(m_world); var reply = new Messages.SaveClientDataReplyMessage() { ID = msg.ID, Data = data }; Send(reply); if (SaveEvent != null) SaveEvent(); }