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