Class VersionMismatchEventArgs
- Namespace
- SteamNetworkLib.Events
- Assembly
- SteamNetworkLib.dll
Event arguments for SteamNetworkLib version mismatches between players.
public class VersionMismatchEventArgs : EventArgs
- Inheritance
-
VersionMismatchEventArgs
- Inherited Members
Constructors
VersionMismatchEventArgs(string, Dictionary<CSteamID, string>, List<CSteamID>)
Initializes a new instance of the VersionMismatchEventArgs class.
public VersionMismatchEventArgs(string localVersion, Dictionary<CSteamID, string> playerVersions, List<CSteamID> incompatiblePlayers)
Parameters
localVersion
stringThe local player's SteamNetworkLib version.
playerVersions
Dictionary<CSteamID, string>Dictionary mapping player Steam IDs to their versions.
incompatiblePlayers
List<CSteamID>List of players with incompatible versions.
Properties
IncompatiblePlayers
Gets a list of players with incompatible versions.
public List<CSteamID> IncompatiblePlayers { get; }
Property Value
- List<CSteamID>
LocalVersion
Gets the local player's SteamNetworkLib version.
public string LocalVersion { get; }
Property Value
PlayerVersions
Gets a dictionary mapping player Steam IDs to their SteamNetworkLib versions.
public Dictionary<CSteamID, string> PlayerVersions { get; }
Property Value
- Dictionary<CSteamID, string>