68 lines
2.2 KiB
C#
68 lines
2.2 KiB
C#
using System.Collections.Generic;
|
|
using LightlessSync.API.Dto.Chat;
|
|
|
|
namespace LightlessSyncServer.Models;
|
|
|
|
internal static class ChatZoneDefinitions
|
|
{
|
|
public static IReadOnlyList<ZoneChannelDefinition> Defaults { get; } =
|
|
new[]
|
|
{
|
|
new ZoneChannelDefinition(
|
|
Key: "limsa",
|
|
DisplayName: "Limsa Lominsa",
|
|
Descriptor: new ChatChannelDescriptor
|
|
{
|
|
Type = ChatChannelType.Zone,
|
|
WorldId = 0,
|
|
ZoneId = 0,
|
|
CustomKey = "limsa"
|
|
},
|
|
TerritoryNames: new[]
|
|
{
|
|
"Limsa Lominsa Lower Decks",
|
|
"Limsa Lominsa Upper Decks"
|
|
},
|
|
TerritoryIds: TerritoryRegistry.GetIds(
|
|
"Limsa Lominsa Lower Decks",
|
|
"Limsa Lominsa Upper Decks")),
|
|
new ZoneChannelDefinition(
|
|
Key: "gridania",
|
|
DisplayName: "Gridania",
|
|
Descriptor: new ChatChannelDescriptor
|
|
{
|
|
Type = ChatChannelType.Zone,
|
|
WorldId = 0,
|
|
ZoneId = 0,
|
|
CustomKey = "gridania"
|
|
},
|
|
TerritoryNames: new[]
|
|
{
|
|
"New Gridania",
|
|
"Old Gridania"
|
|
},
|
|
TerritoryIds: TerritoryRegistry.GetIds(
|
|
"New Gridania",
|
|
"Old Gridania")),
|
|
new ZoneChannelDefinition(
|
|
Key: "uldah",
|
|
DisplayName: "Ul'dah",
|
|
Descriptor: new ChatChannelDescriptor
|
|
{
|
|
Type = ChatChannelType.Zone,
|
|
WorldId = 0,
|
|
ZoneId = 0,
|
|
CustomKey = "uldah"
|
|
},
|
|
TerritoryNames: new[]
|
|
{
|
|
"Ul'dah - Steps of Nald",
|
|
"Ul'dah - Steps of Thal"
|
|
},
|
|
TerritoryIds: TerritoryRegistry.GetIds(
|
|
"Ul'dah - Steps of Nald",
|
|
"Ul'dah - Steps of Thal"))
|
|
};
|
|
|
|
}
|