Modding/Hooks: Difference between revisions

From sc2k-reverse
Jump to navigationJump to search
Created page with "{{Live draft}} {| class="wikitable sortable" |+ Uncategorized hooks |- ! {{tooltip|Name|The name of the hook.}} ! {{tooltip|Before?|If there's a _Before hook.}} ! {{tooltip|After?|If there's an _After hook.}} ! {{tooltip|Kuroko?|Whether or not this hook is exposed to Kuroko.}} ! {{tooltip|Added in|What version/build the hook was added in}} ! Signature |- | Hook_OnNewCity || {{Yes|}} || {{No|}} || {{NYI}} || 0.10-dev || <tt>void fn(void)</tt> |- | Hook_GameDoIdleUpkeep |..."
 
No edit summary
 
Line 4: Line 4:
|+ Uncategorized hooks
|+ Uncategorized hooks
|-
|-
! {{tooltip|Name|The name of the hook.}} ! {{tooltip|Before?|If there's a _Before hook.}} ! {{tooltip|After?|If there's an _After hook.}} ! {{tooltip|Kuroko?|Whether or not this hook is exposed to Kuroko.}} ! {{tooltip|Added in|What version/build the hook was added in}} ! Signature
! {{tooltip|Name|The name of the hook.}} ! {{tooltip|Before?|If there's a _Before hook.}} ! {{tooltip|After?|If there's an _After hook.}} ! {{tooltip|Kuroko?|Whether or not this hook is exposed to Kuroko.}} ! {{tooltip|Since|What release/commit the hook was added in}} ! Signature
|-
|-
| Hook_OnNewCity || {{Yes|}} || {{No|}} || {{NYI}} || 0.10-dev || <tt>void fn(void)</tt>
| Hook_OnNewCity || {{Yes|}} || {{No|}} || {{NYI}} || {{tooltip|0.10-dev|Added in commit bdda241}} || <tt>void fn(void)</tt>
|-
|-
| Hook_GameDoIdleUpkeep || {{Yes|}} || {{Yes|}} || {{NYI}} || 0.10-dev || <tt>void fn(void* pThis)</tt>
| Hook_GameDoIdleUpkeep || {{Yes|}} || {{Yes|}} || {{NYI}} || {{tooltip|0.10-dev|Added in commit 6972bec}} || <tt>void fn(void* pThis)</tt>
|-
|-
| Hook_SimulationProcessTickDaySwitch || {{Yes|}} || {{Yes|}} || {{NYI}} || 0.10-dev || <tt>void fn(void)</tt>
| Hook_SimulationProcessTickDaySwitch || {{Yes|}} || {{Yes|}} || {{NYI}} || {{tooltip|0.10-dev|Added in commit 170f38d}} || <tt>void fn(void)</tt>
|}
|}

Latest revision as of 03:54, 6 April 2025

1224
1224
Release the terror of the year 2000!
This page or section is a "live draft". It may be brand new or nearing completion, or constantly being reworked. Its current state should be considered accurate to the best of the knowledge of the authors, but may change in the future.


Uncategorized hooks
Name Before? After? Kuroko? Since Signature
Hook_OnNewCity NYI 0.10-dev void fn(void)
Hook_GameDoIdleUpkeep NYI 0.10-dev void fn(void* pThis)
Hook_SimulationProcessTickDaySwitch NYI 0.10-dev void fn(void)