![]() |
Rise
The Vieneo Province
|
#include <steamnetworkingtypes.h>
Classes | |
| union | [union].m_val |
| Option value. More... | |
Public Member Functions | |
| void | SetInt32 (ESteamNetworkingConfigValue eVal, int32_t data) |
| void | SetInt64 (ESteamNetworkingConfigValue eVal, int64_t data) |
| void | SetFloat (ESteamNetworkingConfigValue eVal, float data) |
| void | SetPtr (ESteamNetworkingConfigValue eVal, void *data) |
| void | SetString (ESteamNetworkingConfigValue eVal, const char *data) |
Public Attributes | |
| ESteamNetworkingConfigValue | m_eValue |
| Which option is being set. | |
| ESteamNetworkingConfigDataType | m_eDataType |
| Which field below did you fill in? | |
| union | m_val |
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.
Definition at line 1742 of file steamnetworkingtypes.h.
|
inline |
Definition at line 1775 of file steamnetworkingtypes.h.
|
inline |
Definition at line 1763 of file steamnetworkingtypes.h.
|
inline |
Definition at line 1769 of file steamnetworkingtypes.h.
|
inline |
Definition at line 1781 of file steamnetworkingtypes.h.
|
inline |
Definition at line 1787 of file steamnetworkingtypes.h.
| ESteamNetworkingConfigDataType SteamNetworkingConfigValue_t::m_eDataType |
Which field below did you fill in?
Definition at line 1748 of file steamnetworkingtypes.h.
| ESteamNetworkingConfigValue SteamNetworkingConfigValue_t::m_eValue |
Which option is being set.
Definition at line 1745 of file steamnetworkingtypes.h.
| union SteamNetworkingConfigValue_t::[union].m_val SteamNetworkingConfigValue_t::m_val |