SessionMessage
public sealed class SessionMessageNamespace SideHustle
Added in 3.0.0
A gamemode message received over Side Hustle’s P2P channel (see API.OnMessage). Since 3.0.0.
Properties
Section titled “Properties”GamemodeId
Section titled “GamemodeId”public string GamemodeId { get; }Added in 3.0.0
The gamemode id the sender addressed.
Channel
Section titled “Channel”public string Channel { get; }Added in 3.0.0
The sender’s channel name, free-form per gamemode (e.g. “ping”, “state”).
SenderSteamId
Section titled “SenderSteamId”public ulong SenderSteamId { get; }Added in 3.0.0
The sender’s Steam id as Steam reported it for the packet. Never read from the payload.
Payload
Section titled “Payload”public byte[] Payload { get; }Added in 3.0.0
The raw payload bytes.
IsText
Section titled “IsText”public bool IsText { get; }Added in 3.0.0
True when the sender used a text overload.
public string Text { get; }Added in 3.0.0
The payload decoded as UTF-8.