Exemplo n.º 1
0
 public static StatusResponse FromBytes(byte[] bytes)
 {
     VRage.ByteStream stream = new VRage.ByteStream(bytes, bytes.Length);
     StatusResponse response = new StatusResponse();
     response.LoadFromByteStream(stream);
     return response;
 }
        private void SendDisabledNotice(ulong senderId)
        {
            StatusResponse response = new StatusResponse() {
                ServerRunning = false
            };

            response.SendToPlayer(senderId);
        }