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