GoodEngine/Events: Difference between revisions
Content added Content deleted
EnergyDrink (talk | contribs) mNo edit summary |
EnergyDrink (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
= GoodEngine Events System = |
|||
⚫ | |||
== |
==Format== |
||
===EventLinksArray=== |
|||
⚫ | |||
{| class="wikitable" |
|||
⚫ | |||
! Offset !! Type !! Variable !! Description |
|||
⚫ | |||
|- |
|||
| 0x00 || int || '''count''' || Amount of Events in Asset. |
|||
|- |
|||
| 0x04 || int || '''data''' || Offset to [[#LinkAssetBaseNew|Events]]. |
|||
|} |
|||
===LinkAssetBaseNew=== |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
! 0x00 || colspan="3" | srcEvent |
|||
|- |
|||
| 0x00 || int || '''type''' || Source BKDR hash event ID |
|||
|- |
|||
| 0x04 || int || '''v''' || Offset to parameters |
|||
|- |
|||
! 0x08 || colspan="3" | dstEvent |
|||
|- |
|||
| 0x08 || int || '''type''' || Destination BKDR hash event ID |
|||
|- |
|||
| 0x0C || int || '''v''' || Offset to parameters |
|||
|- |
|||
! colspan="4" | |
|||
|- |
|||
| 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''' || |
|||
|} |
|||
==List of Events== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* [[List of Events/ToS|SpongeBob's Truth or Square]] |
* [[List of Events/ToS|SpongeBob's Truth or Square]] |
||
* [[List of Events/UFC|UFC Personal Trainer]] |
* [[List of Events/UFC|UFC Personal Trainer]] |
Latest revision as of 17:48, 20 September 2022
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 |