Skip to content

IGameEvent@

Game Event.

Methods

  • string GetName() -- Gets the name of the event.
  • bool IsReliable() -- If event handled reliable.
  • bool IsLocal() -- If event is never networked.
  • bool IsEmpty(string&in keyName) -- Check if data field exists.
  • bool GetBool(string&in keyName, bool defaultValue = false) -- Gets the boolean of the specified data field.
  • int GetInt(string&in keyName, int defaultValue = 0) -- Gets the integer of the specified data field.
  • float GetFloat(string&in keyName, float defaultValue = 0.0f) -- Gets the float of the specified data field.
  • string GetString(string&in keyName, string&in defaultValue = "") -- Gets the string of the specified data field.
  • void SetBool(string&in keyName, bool value) -- Sets the value of the data field in boolean.
  • void SetInt(string&in keyName, int value) -- Sets the value of the data field in integer.
  • void SetFloat(string&in keyName, float value) -- Sets the value of the data field in float.
  • void SetString(string&in keyName, string&in value) -- Sets the value of the data field in string.