GoodEngine/Events
Events are a piece of code or instruction that are used for assets in .HO games to "talk" to each other.
Format
EventLinksArray
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | int | count | Amount of Events in Asset. |
0x04 | int | data | Offset to Events. |
LinkAssetBaseNew
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | srcEvent | ||
0x00 | int | type | Source BKDR hash event ID |
0x04 | int | v | Offset to parameters |
0x08 | dstEvent | ||
0x08 | int | type | Destination BKDR hash event ID |
0x0C | int | v | Offset to parameters |
0x10 | AssetID | dstAssetID | ID of asset who will receive the destination event |
0x18 | AssetID | chkAssetID | Destination event is only sent if the source event was received from the asset with this specific ID. |
0x20 | byte | chkSourceParams | |
0x21 | byte | disabled | |
0x22 | short | padding | |
0x24 | int | chkSourceMask |