h_group.h 637 B

12345678910111213141516171819202122232425262728293031
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __HOOK_GROUP_H
  3. #define __HOOK_GROUP_H
  4. #include "h_guiobject.h"
  5. #define H_GROUP_PARENT H_GuiObject
  6. class H_Group : public H_GROUP_PARENT {
  7. public:
  8. H_Group(ScriptObject *o);
  9. H_Group();
  10. virtual ~H_Group();
  11. virtual void H_hook(ScriptObject *o);
  12. ScriptObject *getHookedObject();
  13. virtual int eventCallback(ScriptObject *object, int dlfid, scriptVar **params, int nparams);
  14. virtual void hook_onCreateObject(ScriptObject *newobj) { }
  15. private:
  16. ScriptObject *obj;
  17. int inited;
  18. static int loaded;
  19. static int oncreateobject_id;
  20. };
  21. #endif