From 43bc9af0200846ce3f31fe97d963009e6b199f38 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 2 Nov 2024 19:32:44 +0800 Subject: [PATCH] added ObjectRelation.h --- inc/hgl/type/object/ObjectRelation.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 inc/hgl/type/object/ObjectRelation.h diff --git a/inc/hgl/type/object/ObjectRelation.h b/inc/hgl/type/object/ObjectRelation.h new file mode 100644 index 0000000..aa7c00c --- /dev/null +++ b/inc/hgl/type/object/ObjectRelation.h @@ -0,0 +1,18 @@ + +#pragma once + +#include +#include +#include + +namespace hgl +{ + /** + * 对象引用关系 + */ + struct ObjectRelation + { + tsl::robin_set follow_me; ///<引用自己的对象 + tsl::robin_set me_follow; ///<自己引用的对象 + };//struct ObjectRelation +}//namespace hgl