eq2go/internal/chat/constants.go

36 lines
807 B
Go

package chat
// Channel type constants
const (
ChannelTypeNone = 0
ChannelTypeWorld = 1 // Persistent, loaded from database
ChannelTypeCustom = 2 // Temporary, deleted when empty
)
// Chat channel actions for client communication
const (
ChatChannelJoin = 0 // Player joins channel
ChatChannelLeave = 1 // Player leaves channel
ChatChannelOtherJoin = 2 // Another player joins
ChatChannelOtherLeave = 3 // Another player leaves
)
// Channel name and password limits
const (
MaxChannelNameLength = 100
MaxChannelPasswordLength = 100
)
// Channel restrictions
const (
NoLevelRestriction = 0
NoRaceRestriction = 0
NoClassRestriction = 0
)
// Discord integration constants (for future implementation)
const (
DiscordWebhookEnabled = true
DiscordWebhookDisabled = false
)