载入中...
搜索中...
未找到
SocialGraph.h
浏览该文件的文档.
65 bool setRelation(const EntityId& source, const EntityId& target, const std::string& type, double value);
67 double addRelation(const EntityId& source, const EntityId& target, const std::string& type, double delta);
78 std::vector<EntityId> relationTargets(const EntityId& source, const std::string& type, double minimum = 0.0) const;
Indexed ownership, control, assignment, and typed-relation graph.
Definition SocialGraph.h:34
const std::vector< SocialChangeEvent > & events() const
Returns queued mutation events in sequence order.
Definition SocialGraph.h:88
Definition SocialDocument.h:13
std::string EntityId
Stable, game-defined identifier used by the social graph.
Definition SocialGraph.h:15
Immutable description of one social graph mutation.
Definition SocialGraph.h:18