Move the SetCommandClient hook into GameHooks.

This commit is contained in:
David Anderson
2015-09-09 20:03:23 -07:00
parent c54b54ded0
commit fe16e8e47c
8 changed files with 40 additions and 39 deletions
+4
View File
@@ -68,6 +68,10 @@ public:
ke::PassRef<CommandHook> AddCommandHook(ConCommand *cmd, const CommandHook::Callback &callback);
ke::PassRef<CommandHook> AddPostCommandHook(ConCommand *cmd, const CommandHook::Callback &callback);
int CommandClient() const {
return hooks_.CommandClient();
}
private:
ke::Ref<ke::SharedLib> logic_;
LogicInitFunction logic_init_;