Customizing Hide-and-Seek-Mod (General Assembly related Questions)
#13
I have thourougly studied all the documentation and as I already have access to the minimap object I think it'd be best to work with that.

I have found
Code:
  /* 0x68 */ UIControlCollection m_children;

Source: https://github.com/mkwcat/mkw-tournament...trol.h#L98

and

Code:
struct UIControlCollection {
    UIControlCollection();
    ~UIControlCollection();

    void init(UIControl* parent, int count);
    void set(int index, UIControl* control);

    /* 0x00 */ UIControl** m_children;
    /* 0x04 */ UIControl** m_children2;
    /* 0x08 */ UIControl* m_parent;
    /* 0x0C */ UIControl* m_root;
    /* 0x10 */ int m_count;
};

Source: https://github.com/mkwcat/mkw-tournament...trol.h#L32

So I assume this way I could access the child objects (PlayerIcons) of the minimap.

What I still have trouble understanding is:
1) How do I iterate through all child objects?
2) How do I get the pids so I can add those objects to the data for each individual player?
Reply


Messages In This Thread
RE: Customizing Hide-and-Seek-Mod (General Assembly related Questions) - by tefo7 - 01-30-2023, 08:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)