Table of Contents

Class MemberInfo

Namespace
SteamNetworkLib.Models
Assembly
SteamNetworkLib.dll

Represents information about a lobby member including their identity and status. Contains all essential details needed to identify and manage a player in a lobby.

public class MemberInfo
Inheritance
MemberInfo
Inherited Members

Constructors

MemberInfo()

Initializes a new instance of the MemberInfo class. Sets the join time to the current local time.

public MemberInfo()

Properties

DisplayName

Gets or sets the display name of the member as shown in Steam. This is the human-readable name that other players will see.

public string DisplayName { get; set; }

Property Value

string

IsLocalPlayer

Gets or sets a value indicating whether this member represents the local player. This helps distinguish the local player from other lobby members in the UI.

public bool IsLocalPlayer { get; set; }

Property Value

bool

IsOwner

Gets or sets a value indicating whether this member is the lobby owner (host). The owner has special privileges like changing lobby settings and managing members.

public bool IsOwner { get; set; }

Property Value

bool

JoinedAt

Gets or sets when this member joined the lobby. Used for tracking session duration and determining join order.

public DateTime JoinedAt { get; set; }

Property Value

DateTime

SteamId

Gets or sets the unique Steam ID of the member. This is the primary identifier used for all player-specific operations.

public CSteamID SteamId { get; set; }

Property Value

CSteamID

SteamId64

Gets or sets the member Steam ID as a 64-bit integer.

public ulong SteamId64 { get; set; }

Property Value

ulong

Remarks

Use this property for JSON payloads, configuration files, dictionaries, and logs. It avoids exposing the runtime-specific Steamworks CSteamID type in cross-mod data contracts.

SteamIdString

Gets the member Steam ID as an invariant decimal string.

public string SteamIdString { get; }

Property Value

string

Remarks

This is useful for display, text logs, and string-keyed stores where a numeric SteamId64 value would otherwise need to be formatted repeatedly.