added ObjectRelation.h

This commit is contained in:
hyzboy 2024-11-02 19:32:44 +08:00
parent 8dc653b7b1
commit 43bc9af020

View File

@ -0,0 +1,18 @@
#pragma once
#include<hgl/type/object/ObjectBaseInfo.h>
#include<hgl/type/SortedSet.h>
#include<tsl/robin_set.h>
namespace hgl
{
/**
*
*/
struct ObjectRelation
{
tsl::robin_set<ObjectSimpleInfo> follow_me; ///<引用自己的对象
tsl::robin_set<ObjectSimpleInfo> me_follow; ///<自己引用的对象
};//struct ObjectRelation
}//namespace hgl