public static ChangeSettingResponse FromBytes(byte[] bytes)
 {
     VRage.ByteStream stream = new VRage.ByteStream(bytes, bytes.Length);
     ChangeSettingResponse response = new ChangeSettingResponse();
     response.LoadFromByteStream(stream);
     response.Success = stream.getBoolean();
     return response;
 }
示例#2
0
        public static ChangeSettingResponse FromBytes(byte[] bytes)
        {
            VRage.ByteStream      stream   = new VRage.ByteStream(bytes, bytes.Length);
            ChangeSettingResponse response = new ChangeSettingResponse();

            response.LoadFromByteStream(stream);
            response.Success = stream.getBoolean();
            return(response);
        }