跳转至

uievents


events_ui_is_pending

bool native.uievents.events_ui_is_pending(int hash)

Old name: _EVENT_MANAGER_IS_EVENT_PENDING

events_ui_get_message

bool native.uievents.events_ui_get_message(int hash, ptr int event_data)

eventData:
struct UI_SCRIPT_EVENT
{
    alignas(8) eUIScriptEventType eventType; // https://alloc8or.re/rdr3/doc/enums/eUIScriptEventType.txt
    alignas(8) int intParam;
    alignas(8) Hash hashParam;
    alignas(8) Hash datastoreParam;
};

Old name: _EVENT_MANAGER_GET_EVENT

events_ui_peek_message

bool native.uievents.events_ui_peek_message(int hash, ptr int event_data)

eventData: see EVENTS_UI_GET_MESSAGE

Old name: _EVENT_MANAGER_PEEK_EVENT

events_ui_pop_message

void native.uievents.events_ui_pop_message(int hash)

Old name: _EVENT_MANAGER_POP_EVENT