+ Reply to Thread
Results 1 to 2 of 2

Thread: Having trouble getting contents of UI.Native.<anything>

  1. #1
    Shadowlander
    Join Date
    Feb 2016
    Posts
    49

    Question Having trouble getting contents of UI.Native.<anything>

    Hi, I'm trying to get the contents of native frames. I'm running into problems.

    UI.Native.Character:GetChildren() doesn't work.
    local parent = UI.Native.Character:GetParent(); parent:GetChildren() doesn't work.
    UIParent:GetChildren() doesn't work.

    Similarly for UI.Native.Loot. Any recommendations or tips?

  2. #2
    Shadowlander GreenZomie's Avatar
    Join Date
    Sep 2018
    Posts
    34

    Default

    Quote Originally Posted by deathbeams View Post
    Hi, I'm trying to get the contents of native frames. I'm running into problems.

    UI.Native.Character:GetChildren() doesn't work.
    local parent = UI.Native.Character:GetParent(); parent:GetChildren() doesn't work.
    UIParent:GetChildren() doesn't work.

    Similarly for UI.Native.Loot. Any recommendations or tips?
    I can't see these items doing much except exposing an Event table with Layer, Loaded, Move, Size and Strata members.
    We seem to have been given just enough to stick a decoration on top of a native but not interact with it in any other way.
    --
    Calling `Utility.Type(UI.Native.Loot)` or any of the UI.Native.* windows returns 'Native' as the type.

    This means that when enumerating the available documents via `Inspect.Documentation()` you will find info on

    - Native - the type itself
    - UI.Native.* - all the Native window types
    - Native:* - all the methods you can call on Native windows
    - Native.Event.* - all the events you can attach to on native windows

    And yes. GetChildren is not there.
    https://www.seebs.net/rift/live/Native_index.html
    Last edited by GreenZomie; 10-09-2018 at 11:46 AM.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts