public void SendUpdateInterior(string status, string playerId, string playerInteriorId, string InteriorId, float position, bool isConstructed, bool isFlipped) { var data = new CollectionInterior(playerId, playerInteriorId, InteriorId, position, isConstructed, isFlipped); var message = new Message("0640" + status, data); var str = JsonConvert.SerializeObject(message); ws.Send(str); }
public void SendDeleteInteriors(string status, string playerId) { var data = new CollectionInterior(playerId, "", "", 0, false, false); var message = new Message("0631" + status, data); var str = JsonConvert.SerializeObject(message); ws.Send(str); }