Table of Contents

Class DynamicGameChatChannelState

Namespace
FishMMO.DiscordBot.Data
Assembly
FishMMO-DiscordBot.dll

Persistent state for a dynamically created Discord channel linked to a game world/scene. Serialized to and from botconfig.json by BotConfigurationService.

public class DynamicGameChatChannelState
Inheritance
DynamicGameChatChannelState
Inherited Members

Properties

DiscordCategoryId

The Discord category channel snowflake that groups channels for a game world.

public ulong DiscordCategoryId { get; set; }

Property Value

ulong

DiscordChannelId

The Discord text channel snowflake for this game scene's chat bridge.

public ulong DiscordChannelId { get; set; }

Property Value

ulong

LastActivity

UTC timestamp of the last message or activity on this channel. Used by cleanup to determine stale channels.

public DateTime LastActivity { get; set; }

Property Value

DateTime

SceneServerId

The game scene server database ID.

public long SceneServerId { get; set; }

Property Value

long

SceneServerName

The display name of the game scene server.

public string SceneServerName { get; set; }

Property Value

string

WorldServerId

The game world server database ID.

public long WorldServerId { get; set; }

Property Value

long

WorldServerName

The display name of the game world server.

public string WorldServerName { get; set; }

Property Value

string