public void Send (GameMessage Msg) { // Convert the string data to Json string Data = Msg.ToJson (); // Send the data to the remote server lock (WriteLock) { sw.Write (Data); } }
public void Send (GameMessage Msg) { // Convert the string data to Json string Data = Msg.ToJson (); // Send the data to the remote server lock (WriteLock) { sw.Write (Data); } }