public static void deserialize(byte[] data, ref Int32 offset, out MonsterZoneInfo value) { deserialize(data, ref offset, out value.id); deserialize(data, ref offset, out value.position); value.monsterList = new List <MonsterInfo>(); deserialize(data, ref offset, ref value.monsterList); }
public static void serialize(MemoryStream stream, MonsterZoneInfo value) { serialize(stream, value.id); serialize(stream, value.position); serialize(stream, value.monsterList); }