added ObjectRelation.h
This commit is contained in:
parent
8dc653b7b1
commit
43bc9af020
18
inc/hgl/type/object/ObjectRelation.h
Normal file
18
inc/hgl/type/object/ObjectRelation.h
Normal 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
|
Loading…
x
Reference in New Issue
Block a user