Add accessors for some entities GIDs

This commit is contained in:
Andrew nuark G 2020-12-15 22:51:35 +07:00
parent 76ac624519
commit 1ef4044479
4 changed files with 11 additions and 1 deletions

View file

@ -75,3 +75,7 @@ void storage_entity::deserialize(QDataStream &input) {
void storage_entity::preloadGlobalId(entity_id gid) {
storage_entity::__global_id = gid;
}
entity_id storage_entity::GID() {
return storage_entity::__global_id;
}