SteamNetworkingConfigValue_t

In a few places we need to set configuration options on listen sockets and connections, and have them take effect *before* the listen socket or connection really starts doing anything. Creating the object and then setting the options "immediately" after creation doesn't work completely, because network packets could be received between the time the object is created and when the options are applied. To set options at creation time in a reliable way, they must be passed to the creation function. This structure is used to pass those options.

For the meaning of these fields, see ISteamNetworkingUtils::SetConfigValue. Basically when the object is created, we just iterate over the list of options and call ISteamNetworkingUtils::SetConfigValueStruct, where the scope arguments are supplied by the object being created.

Members

Functions

SetFloat
void SetFloat(ESteamNetworkingConfigValue eVal, float data)
Undocumented in source. Be warned that the author may not have intended to support it.
SetInt32
void SetInt32(ESteamNetworkingConfigValue eVal, int data)
Undocumented in source. Be warned that the author may not have intended to support it.
SetInt64
void SetInt64(ESteamNetworkingConfigValue eVal, long data)
Undocumented in source. Be warned that the author may not have intended to support it.
SetPtr
void SetPtr(ESteamNetworkingConfigValue eVal, void* data)
Undocumented in source. Be warned that the author may not have intended to support it.
SetString
void SetString(ESteamNetworkingConfigValue eVal, const(char)* data)
Undocumented in source. Be warned that the author may not have intended to support it.

Unions

Value_t
union Value_t

Option value

Variables

m_eDataType
ESteamNetworkingConfigDataType m_eDataType;

Which field below did you fill in?

m_eValue
ESteamNetworkingConfigValue m_eValue;

Which option is being set

m_val
Value_t m_val;
Undocumented in source.

Meta