public static RespawnInformation Deserialize(Stream stream) { RespawnInformation respawnInformation = Pool.Get <RespawnInformation>(); RespawnInformation.Deserialize(stream, respawnInformation, false); return(respawnInformation); }
public static RespawnInformation Deserialize(byte[] buffer, RespawnInformation instance, bool isDelta = false) { using (MemoryStream memoryStream = new MemoryStream(buffer)) { RespawnInformation.Deserialize(memoryStream, instance, isDelta); } return(instance); }
public static RespawnInformation Deserialize(byte[] buffer) { RespawnInformation respawnInformation = Pool.Get <RespawnInformation>(); using (MemoryStream memoryStream = new MemoryStream(buffer)) { RespawnInformation.Deserialize(memoryStream, respawnInformation, false); } return(respawnInformation); }
public void FromProto(Stream stream, bool isDelta = false) { RespawnInformation.Deserialize(stream, this, isDelta); }