Class MemberDataChangedEventArgs
- Namespace
- SteamNetworkLib.Events
- Assembly
- SteamNetworkLib.dll
Provides data for the member data changed event. Contains information about what member data was changed, including old and new values.
public class MemberDataChangedEventArgs : EventArgs
- Inheritance
-
MemberDataChangedEventArgs
- Inherited Members
Constructors
MemberDataChangedEventArgs(CSteamID?, string, string?, string?)
Initializes a new instance of the MemberDataChangedEventArgs class.
public MemberDataChangedEventArgs(CSteamID? memberId, string key, string? oldValue, string? newValue)
Parameters
memberId
CSteamIDThe Steam ID of the member whose data was changed.
key
stringThe key of the member data that was changed.
oldValue
stringThe previous value of the member data.
newValue
stringThe new value of the member data.
Properties
Key
Gets the key of the member data that was changed.
public string Key { get; }
Property Value
MemberId
Gets the Steam ID of the member whose data was changed.
public CSteamID? MemberId { get; }
Property Value
- CSteamID
NewValue
Gets the new value of the member data, or null if it was removed.
public string? NewValue { get; }
Property Value
OldValue
Gets the previous value of the member data, or null if it was newly set.
public string? OldValue { get; }