private void readTable(TableID tableID, ByteArray bytes) { TableBase table = m_dicTable[tableID]; bytes.endian = Endian.LITTLE_ENDIAN; uint len = bytes.readUnsignedInt(); uint i = 0; ItemBase item = new ItemBase(); for (i = 0; i < len; i++) { if (TableID.TABLE_OBJECT == tableID) { item = new ObjectItem(); } item.parseHeaderByteArray(bytes); //item.parseByteArrayTestServer(bytes); table.m_List.Add(item); } }