Log In
Sign Up
RDR3 matchUnofficial name

EVENT::_EVENT_GET_SOURCE_ENTITY_FROM_EVENT

0x315A427E7DD5FFE4 ·RVA 0x03C084B0

Signature

Entity _EVENT_GET_SOURCE_ENTITY_FROM_EVENT(
    Entity entity,
    Hash eventType,
    int p2,
    int p3
);

The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).

Parameters 4

#TypeNameNotes
0Entityentity –
1HasheventType –
2intp2 –
3intp3 –

Returns

Entity

Call it

// EVENT::_EVENT_GET_SOURCE_ENTITY_FROM_EVENT
auto result = invoke<Entity>(0x315A427E7DD5FFE4, entity, eventType, p2, p3);

Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.

Improve this page

Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.