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; }
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); }