Skip to content

GameStateObject

Class in GameFramework · GameFramework.GameStateObject · native

Object › GameplayEventsHandler › GameStateObject

Using it from Lua
h7.find_all("GameStateObject")            -- live instances
h7.find_class("GameFramework.GameStateObject")   -- the class
h7.hook("GameFramework.GameStateObject.PreProcessStream", fn)

Enums

GameSessionType

GT_SessionInvalid = 0, GT_SinglePlayer = 1, GT_Coop = 2, GT_Multiplayer = 3

Structs

PlayerState

FieldType
PlayerIndexint
CurrentTeamIndexint
TimeSpawnedfloat
TimeAliveSinceLastDeathfloat

TeamState

FieldType
TeamIndexint
arrayinit

Properties

NameTypeNotes
bIsMatchStartedbool
bIsRoundStartedbool
MaxRoundNumberint
PlayerStatesArray_Mirrorconst, native
RoundNumberint
SessionTypeGameSessionType
TeamStatesArray_Mirrorconst, native

Functions

NameDeclaration
PreProcessStreamnative event PreProcessStream()
Resetnative function Reset()

Inherited

FromMembers
GameplayEventsHandler3 properties, 6 functions
Object13 properties, 308 functions