コード例 #1
0
        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);
        }
コード例 #2
0
 public static void serialize(MemoryStream stream, MonsterZoneInfo value)
 {
     serialize(stream, value.id);
     serialize(stream, value.position);
     serialize(stream, value.monsterList);
 }