igameevent

Functions

GetName

Returns:

Code:

local szName = pEvent:GetName()
print(szName)

GetBool

Returns:

Code:

local bValue = pEvent:GetBool()

GetInt

Returns:

Code:

local iValue = pEvent:GetInt()

GetUint64

Returns:

Code:

local ullValue = pEvent:GetUint64()

GetFloat

Returns:

Code:

local flValue = pEvent:GetFloat()

GetString

Returns:

Code:

local szValue = pEvent:GetString()

SetBool

Parameters:

Code:

pEvent:SetBool(true)

SetInt

Parameters:

pEvent:SetInt(1)

Code:

SetUint64

Parameters:

Code:

pEvent:SetUint64(1)

SetFloat

Parameters:

Code:

pEvent:SetFloat(1.0)

SetString

Parameters:

Code:

pEvent:SetString("1")

Last updated