Class LobbyDataChangedEventArgs
- Namespace
- SteamNetworkLib.Events
- Assembly
- SteamNetworkLib.dll
Provides data for the lobby data changed event. Contains information about what lobby data was changed, including old and new values.
public class LobbyDataChangedEventArgs : EventArgs
- Inheritance
-
LobbyDataChangedEventArgs
- Inherited Members
Constructors
LobbyDataChangedEventArgs(string, string?, string?, CSteamID?)
Initializes a new instance of the LobbyDataChangedEventArgs class.
public LobbyDataChangedEventArgs(string key, string? oldValue, string? newValue, CSteamID? changedBy)
Parameters
keystringThe key of the lobby data that was changed.
oldValuestringThe previous value of the lobby data.
newValuestringThe new value of the lobby data.
changedByCSteamIDThe Steam ID of the player who made the change.
Properties
ChangedBy
Gets the Steam ID of the player who made the change.
public CSteamID? ChangedBy { get; }
Property Value
- CSteamID
Key
Gets the key of the lobby data that was changed.
public string Key { get; }
Property Value
NewValue
Gets the new value of the lobby data, or null if it was removed.
public string? NewValue { get; }
Property Value
OldValue
Gets the previous value of the lobby data, or null if it was newly set.
public string? OldValue { get; }