public ObjectEntity(int index, EntityType eType) { eIndex = index; EType = eType; StructBase = Funcs.GetEntity(EType, eIndex); }