Script::PartialPlayTime
function · ui · primitive
- Address
0x48eb70· 104 bytes, up to0x48ebd7- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes 1 when the player's flags have bit 12 set, else nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/billing#partial-play-and-no-play
Finding: Partial play and no play in ui: play time and the billing rest time
PartialPlayTime() pushes the number 1 when the active player object has bit 12 (0x1000) of PLAYER_FLAGS set, else nil, also nil with no player object. NoPlayTime() is the same
for bit 13 (0x2000). Both read [[player+0xe68]+8], shifted and masked, with the player type mask 0x10, and push exactly one value. Neither reads the billing words.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.