diff --git a/Common/Internationalization/Message/LanguageCHS.cs b/Common/Internationalization/Message/LanguageCHS.cs
index a5cb3757..e5fe3ab6 100644
--- a/Common/Internationalization/Message/LanguageCHS.cs
+++ b/Common/Internationalization/Message/LanguageCHS.cs
@@ -35,51 +35,51 @@ public class ServerTextCHS
///
public class WordTextCHS
{
- public string Rank { get; } = "星魂";
- public string Avatar { get; } = "角色";
- public string Material { get; } = "材料";
- public string Relic { get; } = "遗器";
- public string Equipment { get; } = "光锥";
- public string Talent { get; } = "行迹";
- public string Banner { get; } = "卡池";
- public string Activity { get; } = "活动";
- public string Buff { get; } = "祝福";
- public string Miracle { get; } = "奇物";
- public string Unlock { get; } = "奢侈品";
+ public string Rank => "星魂";
+ public string Avatar => "角色";
+ public string Material => "材料";
+ public string Relic => "遗器";
+ public string Equipment => "光锥";
+ public string Talent => "行迹";
+ public string Banner => "卡池";
+ public string Activity => "活动";
+ public string Buff => "祝福";
+ public string Miracle => "奇物";
+ public string Unlock => "奢侈品";
// server info
- public string Config { get; } = "配置文件";
- public string Language { get; } = "语言";
- public string Log { get; } = "日志";
- public string GameData { get; } = "游戏数据";
- public string Database { get; } = "数据库";
- public string Command { get; } = "命令";
- public string WebServer { get; } = "Web服务器";
- public string Plugin { get; } = "插件";
- public string Handler { get; } = "包处理器";
- public string Dispatch { get; } = "全局分发";
- public string Game { get; } = "游戏";
- public string Handbook { get; } = "手册";
- public string NotFound { get; } = "未找到";
- public string Error { get; } = "错误";
- public string FloorInfo { get; } = "区域文件";
- public string FloorGroupInfo { get; } = "区域组文件";
- public string FloorMissingResult { get; } = "传送与世界生成";
- public string FloorGroupMissingResult { get; } = "传送、怪物战斗与世界生成";
- public string Mission { get; } = "任务";
- public string MissionInfo { get; } = "任务文件";
- public string SubMission { get; } = "子任务";
- public string SubMissionInfo { get; } = "子任务文件";
- public string MazeSkill { get; } = "角色秘技";
- public string MazeSkillInfo { get; } = "角色秘技文件";
- public string Dialogue { get; } = "模拟宇宙事件";
- public string DialogueInfo { get; } = "模拟宇宙事件文件";
- public string Performance { get; } = "剧情操作";
- public string PerformanceInfo { get; } = "剧情操作文件";
- public string RogueChestMap { get; } = "模拟宇宙地图";
- public string RogueChestMapInfo { get; } = "模拟宇宙地图文件";
- public string ChessRogueRoom { get; } = "模拟宇宙DLC";
- public string ChessRogueRoomInfo { get; } = "模拟宇宙DLC文件";
+ public string Config => "配置文件";
+ public string Language => "语言";
+ public string Log => "日志";
+ public string GameData => "游戏数据";
+ public string Database => "数据库";
+ public string Command => "命令";
+ public string WebServer => "Web服务器";
+ public string Plugin => "插件";
+ public string Handler => "包处理器";
+ public string Dispatch => "全局分发";
+ public string Game => "游戏";
+ public string Handbook => "手册";
+ public string NotFound => "未找到";
+ public string Error => "错误";
+ public string FloorInfo => "区域文件";
+ public string FloorGroupInfo => "区域组文件";
+ public string FloorMissingResult => "传送与世界生成";
+ public string FloorGroupMissingResult => "传送、怪物战斗与世界生成";
+ public string Mission => "任务";
+ public string MissionInfo => "任务文件";
+ public string SubMission => "子任务";
+ public string SubMissionInfo => "子任务文件";
+ public string MazeSkill => "角色秘技";
+ public string MazeSkillInfo => "角色秘技文件";
+ public string Dialogue => "模拟宇宙事件";
+ public string DialogueInfo => "模拟宇宙事件文件";
+ public string Performance => "剧情操作";
+ public string PerformanceInfo => "剧情操作文件";
+ public string RogueChestMap => "模拟宇宙地图";
+ public string RogueChestMapInfo => "模拟宇宙地图文件";
+ public string ChessRogueRoom => "模拟宇宙DLC";
+ public string ChessRogueRoomInfo => "模拟宇宙DLC文件";
}
#endregion
@@ -131,24 +131,24 @@ public class WebTextCHS
///
public class ServerInfoTextCHS
{
- public string Shutdown { get; } = "关闭中…";
- public string CancelKeyPressed { get; } = "已按下取消键 (Ctrl + C),服务器即将关闭…";
- public string StartingServer { get; } = "正在启动 DanhengServer…";
- public string LoadingItem { get; } = "正在加载 {0}…";
- public string RegisterItem { get; } = "注册了 {0} 个 {1}。";
- public string FailedToLoadItem { get; } = "加载 {0} 失败。";
- public string FailedToInitializeItem { get; } = "初始化 {0} 失败。";
- public string FailedToReadItem { get; } = "读取 {0} 失败,文件{1}";
- public string GeneratedItem { get; } = "已生成 {0}。";
- public string LoadedItem { get; } = "已加载 {0}。";
- public string LoadedItems { get; } = "已加载 {0} 个 {1}。";
- public string ServerRunning { get; } = "{0} 服务器正在监听 {1}";
- public string ServerStarted { get; } = "启动完成!用时 {0}s,击败了99%的用户,输入 ‘help’ 来获取命令帮助"; // 玩梗,考虑英语版本将其本土化
- public string MissionEnabled { get; } = "任务系统已启用,此功能仍在开发中,且可能不会按预期工作,如果遇见任何bug,请汇报给开发者。";
+ public string Shutdown => "关闭中…";
+ public string CancelKeyPressed => "已按下取消键 (Ctrl + C),服务器即将关闭…";
+ public string StartingServer => "正在启动 DanhengServer…";
+ public string LoadingItem => "正在加载 {0}…";
+ public string RegisterItem => "注册了 {0} 个 {1}。";
+ public string FailedToLoadItem => "加载 {0} 失败。";
+ public string FailedToInitializeItem => "初始化 {0} 失败。";
+ public string FailedToReadItem => "读取 {0} 失败,文件{1}";
+ public string GeneratedItem => "已生成 {0}。";
+ public string LoadedItem => "已加载 {0}。";
+ public string LoadedItems => "已加载 {0} 个 {1}。";
+ public string ServerRunning => "{0} 服务器正在监听 {1}";
+ public string ServerStarted => "启动完成!用时 {0}s,击败了99%的用户,输入 ‘help’ 来获取命令帮助"; // 玩梗,考虑英语版本将其本土化
+ public string MissionEnabled => "任务系统已启用,此功能仍在开发中,且可能不会按预期工作,如果遇见任何bug,请汇报给开发者。";
- public string ConfigMissing { get; } = "{0} 缺失,请检查你的资源文件夹:{1},{2} 可能不能使用。";
- public string UnloadedItems { get; } = "卸载了所有 {0}。";
- public string SaveDatabase { get; } = "已保存数据库,用时 {0}s";
+ public string ConfigMissing => "{0} 缺失,请检查你的资源文件夹:{1},{2} 可能不能使用。";
+ public string UnloadedItems => "卸载了所有 {0}。";
+ public string SaveDatabase => "已保存数据库,用时 {0}s";
}
#endregion
@@ -164,14 +164,14 @@ public class ServerInfoTextCHS
///
public class NoticeTextCHS
{
- public string PlayerNotFound { get; } = "未找到玩家!";
- public string InvalidArguments { get; } = "无效的参数!";
- public string NoPermission { get; } = "你没有权限这么做!";
- public string CommandNotFound { get; } = "未找到命令! 输入 '/help' 来获取帮助";
- public string TargetOffline { get; } = "目标 {0}({1}) 离线了!清除当前目标";
- public string TargetFound { get; } = "找到目标 {0}({1}),下一次命令将默认对其执行";
- public string TargetNotFound { get; } = "未找到目标 {0}!";
- public string InternalError { get; } = "在处理命令时发生了内部错误!";
+ public string PlayerNotFound => "未找到玩家!";
+ public string InvalidArguments => "无效的参数!";
+ public string NoPermission => "你没有权限这么做!";
+ public string CommandNotFound => "未找到命令! 输入 '/help' 来获取帮助";
+ public string TargetOffline => "目标 {0}({1}) 离线了!清除当前目标";
+ public string TargetFound => "找到目标 {0}({1}),下一次命令将默认对其执行";
+ public string TargetNotFound => "未找到目标 {0}!";
+ public string InternalError => "在处理命令时发生了内部错误!";
}
///
@@ -179,14 +179,13 @@ public class NoticeTextCHS
///
public class HeroTextCHS
{
- public string Desc { get; } =
- "切换主角的性别/形态\n当切换性别时,genderId为1代表男性,2代表女性\n当切换形态时,8001代表毁灭命途,8003代表存护命途,8005代表同谐命途。\n注意,切换性别时会清空所有可选命途以及行迹,为不可逆操作!";
+ public string Desc => "切换主角的性别/形态\n当切换性别时,genderId为1代表男性,2代表女性\n当切换形态时,8001代表毁灭命途,8003代表存护命途,8005代表同谐命途。\n注意,切换性别时会清空所有可选命途以及行迹,为不可逆操作!";
- public string Usage { get; } = "用法:/hero gender [genderId]\n\n用法:/hero type [typeId]";
- public string GenderNotSpecified { get; } = "性别不存在!";
- public string HeroTypeNotSpecified { get; } = "主角类型不存在!";
- public string GenderChanged { get; } = "性别已更改!";
- public string HeroTypeChanged { get; } = "主角类型已更改!";
+ public string Usage => "用法:/hero gender [genderId]\n\n用法:/hero type [typeId]";
+ public string GenderNotSpecified => "性别不存在!";
+ public string HeroTypeNotSpecified => "主角类型不存在!";
+ public string GenderChanged => "性别已更改!";
+ public string HeroTypeChanged => "主角类型已更改!";
}
///
@@ -194,11 +193,12 @@ public class HeroTextCHS
///
public class UnlockAllTextCHS
{
- public string Desc { get; } = "解锁所有在类别内的对象\n" +
- "使用 /unlockall mission 以完成所有任务,使用后会被踢出,重新登录后可能会被教程卡住,请谨慎使用";
+ public string Desc =>
+ "解锁所有在类别内的对象\n" +
+ "使用 /unlockall mission 以完成所有任务,使用后会被踢出,重新登录后可能会被教程卡住,请谨慎使用";
- public string Usage { get; } = "用法:/unlockall mission";
- public string AllMissionsUnlocked { get; } = "所有任务已解锁!";
+ public string Usage => "用法:/unlockall mission";
+ public string AllMissionsUnlocked => "所有任务已解锁!";
}
///
@@ -206,17 +206,16 @@ public class UnlockAllTextCHS
///
public class AvatarTextCHS
{
- public string Desc { get; } = "设定玩家已有角色的属性\n设置行迹等级时,设置X级即设置所有行迹节点至X级,若大于此节点允许的最高等级,设置为最高等级\n注意:-1意为所有已拥有角色";
+ public string Desc => "设定玩家已有角色的属性\n设置行迹等级时,设置X级即设置所有行迹节点至X级,若大于此节点允许的最高等级,设置为最高等级\n注意:-1意为所有已拥有角色";
- public string Usage { get; } =
- "用法:/avatar talent [角色ID/-1] [行迹等级]\n\n用法:/avatar get [角色ID]\n\n用法:/avatar rank [角色ID/-1] [星魂]\n\n用法:/avatar level [角色ID/-1] [角色等级]";
+ public string Usage => "用法:/avatar talent [角色ID/-1] [行迹等级]\n\n用法:/avatar get [角色ID]\n\n用法:/avatar rank [角色ID/-1] [星魂]\n\n用法:/avatar level [角色ID/-1] [角色等级]";
- public string InvalidLevel { get; } = "{0}等级无效";
- public string AllAvatarsLevelSet { get; } = "已将全部角色 {0}等级设置为 {1}";
- public string AvatarLevelSet { get; } = "已将 {0} 角色 {1}等级设置为 {2}";
- public string AvatarNotFound { get; } = "角色不存在!";
- public string AvatarGet { get; } = "获取到角色 {0}!";
- public string AvatarFailedGet { get; } = "获取角色 {0} 失败!";
+ public string InvalidLevel => "{0}等级无效";
+ public string AllAvatarsLevelSet => "已将全部角色 {0}等级设置为 {1}";
+ public string AvatarLevelSet => "已将 {0} 角色 {1}等级设置为 {2}";
+ public string AvatarNotFound => "角色不存在!";
+ public string AvatarGet => "获取到角色 {0}!";
+ public string AvatarFailedGet => "获取角色 {0} 失败!";
}
///
@@ -224,10 +223,10 @@ public class AvatarTextCHS
///
public class GiveTextCHS
{
- public string Desc { get; } = "给予玩家物品,此处可输入角色ID,但无法设置行迹、等级及星魂";
- public string Usage { get; } = "用法:/give <物品ID> l<等级> x<数量> r<叠影>";
- public string ItemNotFound { get; } = "未找到物品!";
- public string GiveItem { get; } = "给予 @{0} {1} 个物品 {2}";
+ public string Desc => "给予玩家物品,此处可输入角色ID,但无法设置行迹、等级及星魂";
+ public string Usage => "用法:/give <物品ID> l<等级> x<数量> r<叠影>";
+ public string ItemNotFound => "未找到物品!";
+ public string GiveItem => "给予 @{0} {1} 个物品 {2}";
}
///
@@ -235,12 +234,11 @@ public class GiveTextCHS
///
public class GiveAllTextCHS
{
- public string Desc { get; } = "给予玩家全部指定类型的物品\navatar意为角色,equipment意为光锥,relic意为遗器,unlock意为气泡、手机壁纸、头像";
+ public string Desc => "给予玩家全部指定类型的物品\navatar意为角色,equipment意为光锥,relic意为遗器,unlock意为气泡、手机壁纸、头像";
- public string Usage { get; } =
- "用法:/giveall avatar r<星魂> l<等级>\n\n用法:/giveall equipment r<叠影> l<等级> x<数量>\n\n用法:/giveall relic l<等级> x<数量>\n\n用法:/giveall unlock";
+ public string Usage => "用法:/giveall avatar r<星魂> l<等级>\n\n用法:/giveall equipment r<叠影> l<等级> x<数量>\n\n用法:/giveall relic l<等级> x<数量>\n\n用法:/giveall unlock";
- public string GiveAllItems { get; } = "已给予所有 {0}, 各 {1} 个";
+ public string GiveAllItems => "已给予所有 {0}, 各 {1} 个";
}
///
@@ -248,10 +246,10 @@ public class GiveAllTextCHS
///
public class LineupTextCHS
{
- public string Desc { get; } = "管理玩家的队伍\n秘技点一次性只能获得两个";
- public string Usage { get; } = "用法:/lineup mp [秘技点数量]\n\n用法:/lineup heal";
- public string PlayerGainedMp { get; } = "玩家已获得 {0} 秘技点";
- public string HealedAllAvatars { get; } = "成功治愈当前队伍中的所有角色";
+ public string Desc => "管理玩家的队伍\n秘技点一次性只能获得两个";
+ public string Usage => "用法:/lineup mp [秘技点数量]\n\n用法:/lineup heal";
+ public string PlayerGainedMp => "玩家已获得 {0} 秘技点";
+ public string HealedAllAvatars => "成功治愈当前队伍中的所有角色";
}
///
@@ -259,10 +257,10 @@ public class LineupTextCHS
///
public class HelpTextCHS
{
- public string Desc { get; } = "显示帮助信息";
- public string Usage { get; } = "用法:/help";
- public string Commands { get; } = "命令:";
- public string CommandPermission { get; } = "所需权限: ";
+ public string Desc => "显示帮助信息";
+ public string Usage => "用法:/help\n\n用法:/help [命令]";
+ public string Commands => "命令:";
+ public string CommandPermission => "所需权限: ";
}
///
@@ -270,9 +268,9 @@ public class HelpTextCHS
///
public class KickTextCHS
{
- public string Desc { get; } = "踢出玩家";
- public string Usage { get; } = "用法:/kick";
- public string PlayerKicked { get; } = "玩家 {0} 已被踢出!";
+ public string Desc => "踢出玩家";
+ public string Usage => "用法:/kick";
+ public string PlayerKicked => "玩家 {0} 已被踢出!";
}
///
@@ -280,25 +278,25 @@ public class KickTextCHS
///
public class MissionTextCHS
{
- public string Desc { get; } = "管理玩家的任务\n" +
- "使用 pass 完成当前正在进行的所有任务,此命令易造成严重卡顿,请尽量使用 /mission finish 替代\n" +
- "使用 running 获取正在进行的任务以及可能卡住的任务,使用后可能会出现较长任务列表,请注意甄别\n" +
- "使用 reaccept 可重新进行指定主任务,请浏览 handbook 来获取主任务ID";
+ public string Desc =>
+ "管理玩家的任务\n" +
+ "使用 pass 完成当前正在进行的所有任务,此命令易造成严重卡顿,请尽量使用 /mission finish 替代\n" +
+ "使用 running 获取正在进行的任务以及可能卡住的任务,使用后可能会出现较长任务列表,请注意甄别\n" +
+ "使用 reaccept 可重新进行指定主任务,请浏览 handbook 来获取主任务ID";
- public string Usage { get; } =
- "用法:/mission pass\n\n用法:/mission finish [子任务ID]\n\n用法:/mission running\n\n用法:/mission reaccept [主任务ID]";
+ public string Usage => "用法:/mission pass\n\n用法:/mission finish [子任务ID]\n\n用法:/mission running\n\n用法:/mission reaccept [主任务ID]";
- public string AllMissionsFinished { get; } = "所有任务已完成!";
- public string AllRunningMissionsFinished { get; } = "共 {0} 个进行中的任务已完成!";
- public string MissionFinished { get; } = "任务 {0} 已完成!";
- public string InvalidMissionId { get; } = "无效的任务ID!";
- public string NoRunningMissions { get; } = "没有正在进行的任务!";
+ public string AllMissionsFinished => "所有任务已完成!";
+ public string AllRunningMissionsFinished => "共 {0} 个进行中的任务已完成!";
+ public string MissionFinished => "任务 {0} 已完成!";
+ public string InvalidMissionId => "无效的任务ID!";
+ public string NoRunningMissions => "没有正在进行的任务!";
- public string RunningMissions { get; } = "正在进行的任务:";
- public string PossibleStuckMissions { get; } = "可能卡住的任务:";
- public string MainMission { get; } = "主任务";
+ public string RunningMissions => "正在进行的任务:";
+ public string PossibleStuckMissions => "可能卡住的任务:";
+ public string MainMission => "主任务";
- public string MissionReAccepted { get; } = "重新接受任务 {0}!";
+ public string MissionReAccepted => "重新接受任务 {0}!";
}
///
@@ -306,15 +304,14 @@ public class MissionTextCHS
///
public class RelicTextCHS
{
- public string Desc { get; } = "管理玩家的遗器\n主词条可选,副词条可选,但至少存在其中之一\n等级限制:1≤等级≤9999";
+ public string Desc => "管理玩家的遗器\n主词条可选,副词条可选,但至少存在其中之一\n等级限制:1≤等级≤9999";
- public string Usage { get; } =
- "用法:/relic <遗器ID> <主词条ID> <小词条ID1:小词条等级> <小词条ID2:小词条等级> <小词条ID3:小词条等级> <小词条ID4:小词条等级> l<等级> x<数量>";
+ public string Usage => "用法:/relic <遗器ID> <主词条ID> <小词条ID1:小词条等级> <小词条ID2:小词条等级> <小词条ID3:小词条等级> <小词条ID4:小词条等级> l<等级> x<数量>";
- public string RelicNotFound { get; } = "遗器不存在!";
- public string InvalidMainAffixId { get; } = "主词条ID无效";
- public string InvalidSubAffixId { get; } = "副词条ID无效";
- public string RelicGiven { get; } = "给予玩家 @{0} {1} 个遗器 {2}, 主词条 {3}";
+ public string RelicNotFound => "遗器不存在!";
+ public string InvalidMainAffixId => "主词条ID无效";
+ public string InvalidSubAffixId => "副词条ID无效";
+ public string RelicGiven => "给予玩家 @{0} {1} 个遗器 {2}, 主词条 {3}";
}
///
@@ -322,9 +319,9 @@ public class RelicTextCHS
///
public class ReloadTextCHS
{
- public string Desc { get; } = "重新加载指定的配置\n配置名:banner - 卡池, activity - 活动";
- public string Usage { get; } = "用法:/reload <配置名>";
- public string ConfigReloaded { get; } = "配置 {0} 已重新加载!";
+ public string Desc => "重新加载指定的配置\n配置名:banner - 卡池, activity - 活动";
+ public string Usage => "用法:/reload <配置名>";
+ public string ConfigReloaded => "配置 {0} 已重新加载!";
}
///
@@ -332,19 +329,18 @@ public class ReloadTextCHS
///
public class RogueTextCHS
{
- public string Desc { get; } = "管理玩家模拟宇宙中的数据\n-1意为所有祝福(已拥有祝福)\n使用 buff 来获取祝福\n使用 enhance 来强化祝福";
+ public string Desc => "管理玩家模拟宇宙中的数据\n-1意为所有祝福(已拥有祝福)\n使用 buff 来获取祝福\n使用 enhance 来强化祝福";
- public string Usage { get; } =
- "用法:/rogue money [宇宙碎片数量]\n\n用法:/rogue buff [祝福ID/-1]\n\n用法:/rogue miracle [奇物ID]\n\n用法:/rogue enhance [祝福ID/-1]\n\n用法:/rogue unstuck - 脱离事件";
+ public string Usage => "用法:/rogue money [宇宙碎片数量]\n\n用法:/rogue buff [祝福ID/-1]\n\n用法:/rogue miracle [奇物ID]\n\n用法:/rogue enhance [祝福ID/-1]\n\n用法:/rogue unstuck - 脱离事件";
- public string PlayerGainedMoney { get; } = "玩家已获得 {0} 宇宙碎片";
- public string PlayerGainedAllItems { get; } = "玩家已获得所有{0}";
- public string PlayerGainedItem { get; } = "玩家已获得{0} {1}";
- public string PlayerEnhancedBuff { get; } = "玩家已强化祝福 {0}";
- public string PlayerEnhancedAllBuffs { get; } = "玩家已强化所有祝福";
- public string PlayerUnstuck { get; } = "玩家已脱离事件";
- public string NotFoundItem { get; } = "未找到 {0}!";
- public string PlayerNotInRogue { get; } = "玩家不在模拟宇宙中!";
+ public string PlayerGainedMoney => "玩家已获得 {0} 宇宙碎片";
+ public string PlayerGainedAllItems => "玩家已获得所有{0}";
+ public string PlayerGainedItem => "玩家已获得{0} {1}";
+ public string PlayerEnhancedBuff => "玩家已强化祝福 {0}";
+ public string PlayerEnhancedAllBuffs => "玩家已强化所有祝福";
+ public string PlayerUnstuck => "玩家已脱离事件";
+ public string NotFoundItem => "未找到 {0}!";
+ public string PlayerNotInRogue => "玩家不在模拟宇宙中!";
}
///
@@ -352,26 +348,26 @@ public class RogueTextCHS
///
public class SceneTextCHS
{
- public string Desc { get; } = "管理玩家场景\n" +
- "提示:此组大多为调试使用,使用命令前,请确保你清楚你在做什么!\n" +
- "使用 prop 来设置道具状态,在Common/Enums/Scene/PropStateEnum.cs获取状态列表\n" +
- "使用 unlockall 来解锁场景内所有道具(即将所有能设置为open状态的道具设置为open状态),此命令有较大可能会导致游戏加载卡条约90%,使用 /scene reset 来解决问题\n" +
- "使用 change 来进入指定场景,要获取EntryId,请访问 Resources/MapEntrance.json\n" +
- "使用 reload 来重新加载当前场景,并回到初始位置\n" +
- "使用 reset 来重置指定场景所有道具状态,要获取当前FloorId,请访问数据库 Player 表";
+ public string Desc =>
+ "管理玩家场景\n" +
+ "提示:此组大多为调试使用,使用命令前,请确保你清楚你在做什么!\n" +
+ "使用 prop 来设置道具状态,在Common/Enums/Scene/PropStateEnum.cs获取状态列表\n" +
+ "使用 unlockall 来解锁场景内所有道具(即将所有能设置为open状态的道具设置为open状态),此命令有较大可能会导致游戏加载卡条约90%,使用 /scene reset 来解决问题\n" +
+ "使用 change 来进入指定场景,要获取EntryId,请访问 Resources/MapEntrance.json\n" +
+ "使用 reload 来重新加载当前场景,并回到初始位置\n" +
+ "使用 reset 来重置指定场景所有道具状态,要获取当前FloorId,请访问数据库 Player 表";
- public string Usage { get; } =
- "用法:/scene prop [组ID] [道具ID] [状态]\n\n用法:/scene remove [实体ID]\n\n用法:/scene unlockall\n\n用法:/scene change [entryId]\n\n用法:/scene reload\n\n用法:/scene reset ";
+ public string Usage => "用法:/scene prop [组ID] [道具ID] [状态]\n\n用法:/scene remove [实体ID]\n\n用法:/scene unlockall\n\n用法:/scene change [entryId]\n\n用法:/scene reload\n\n用法:/scene reset ";
- public string LoadedGroups { get; } = "已加载组: {0}";
- public string PropStateChanged { get; } = "道具: {0} 的状态已设置为 {1}";
- public string PropNotFound { get; } = "未找到道具!";
- public string EntityRemoved { get; } = "实体 {0} 已被移除";
- public string EntityNotFound { get; } = "未找到实体!";
- public string AllPropsUnlocked { get; } = "所有道具已解锁!";
- public string SceneChanged { get; } = "已进入场景 {0}";
- public string SceneReloaded { get; } = "场景已重新加载!";
- public string SceneReset { get; } = "已重置场景 {0} 中所有道具状态!";
+ public string LoadedGroups => "已加载组: {0}";
+ public string PropStateChanged => "道具: {0} 的状态已设置为 {1}";
+ public string PropNotFound => "未找到道具!";
+ public string EntityRemoved => "实体 {0} 已被移除";
+ public string EntityNotFound => "未找到实体!";
+ public string AllPropsUnlocked => "所有道具已解锁!";
+ public string SceneChanged => "已进入场景 {0}";
+ public string SceneReloaded => "场景已重新加载!";
+ public string SceneReset => "已重置场景 {0} 中所有道具状态!";
}
///
@@ -379,10 +375,10 @@ public class SceneTextCHS
///
public class MailTextCHS
{
- public string Desc { get; } = "管理玩家的邮件";
- public string Usage { get; } = "用法:/mail send [发送名称] [标题] [内容] [模板ID] [过期天数]";
- public string MailSent { get; } = "邮件已发送!";
- public string MailSentWithAttachment { get; } = "带附件的邮件已发送!";
+ public string Desc => "管理玩家的邮件";
+ public string Usage => "用法:/mail send [发送名称] [标题] [内容] [模板ID] [过期天数]";
+ public string MailSent => "邮件已发送!";
+ public string MailSentWithAttachment => "带附件的邮件已发送!";
}
///
@@ -390,9 +386,9 @@ public class MailTextCHS
///
public class RaidTextCHS
{
- public string Desc { get; } = "管理玩家的任务临时场景";
- public string Usage { get; } = "用法:/raid leave - 离开临时场景";
- public string Leaved { get; } = "已离开临时场景!";
+ public string Desc => "管理玩家的任务临时场景";
+ public string Usage => "用法:/raid leave - 离开临时场景";
+ public string Leaved => "已离开临时场景!";
}
///
@@ -400,14 +396,14 @@ public class RaidTextCHS
///
public class AccountTextCHS
{
- public string Desc { get; } = "创建账号\n注意:此命令未经测试,请谨慎使用!";
- public string Usage { get; } = "用法:/account create <用户名>";
- public string InvalidUid { get; } = "无效UID参数!";
- public string CreateError { get; } = "出现内部错误 {0} ";
- public string CreateSuccess { get; } = "新账号 {0} 创建成功!";
- public string DuplicateAccount { get; } = "账号 {0} 已存在!";
- public string DuplicateUID { get; } = "UID {0} 已存在!";
- public string DataError { get; } = "新账号获取失败! {0}!";
+ public string Desc => "创建账号\n注意:此命令未经测试,请谨慎使用!";
+ public string Usage => "用法:/account create <用户名>";
+ public string InvalidUid => "无效UID参数!";
+ public string CreateError => "出现内部错误 {0} ";
+ public string CreateSuccess => "新账号 {0} 创建成功!";
+ public string DuplicateAccount => "账号 {0} 已存在!";
+ public string DuplicateUID => "UID {0} 已存在!";
+ public string DataError => "新账号获取失败! {0}!";
}
///
@@ -415,11 +411,11 @@ public class AccountTextCHS
///
public class UnstuckTextCHS
{
- public string Desc { get; } = "将玩家传送回默认场景";
- public string Usage { get; } = "/unstuck ";
- public string UnstuckSuccess { get; } = "已成功将该玩家传送回默认场景";
- public string UidNotExist { get; } = "该UID不存在!";
- public string PlayerIsOnline { get; } = "该玩家目前在线上!";
+ public string Desc => "将玩家传送回默认场景";
+ public string Usage => "用法:/unstuck ";
+ public string UnstuckSuccess => "已成功将该玩家传送回默认场景";
+ public string UidNotExist => "该UID不存在!";
+ public string PlayerIsOnline => "该玩家目前在线上!";
}
///
@@ -427,9 +423,9 @@ public class UnstuckTextCHS
///
public class SetlevelTextCHS
{
- public string Desc { get; } = "设定玩家等级";
- public string Usage { get; } = "/setlevel <等级>";
- public string SetlevelSuccess { get; } = "等级设定成功!";
+ public string Desc => "设定玩家等级";
+ public string Usage => "用法:/setlevel <等级>";
+ public string SetlevelSuccess => "等级设定成功!";
}
#endregion
diff --git a/Common/Internationalization/Message/LanguageCHT.cs b/Common/Internationalization/Message/LanguageCHT.cs
index a9ef5b5d..5d364702 100644
--- a/Common/Internationalization/Message/LanguageCHT.cs
+++ b/Common/Internationalization/Message/LanguageCHT.cs
@@ -35,49 +35,51 @@ public class ServerTextCHT
///
public class WordTextCHT
{
- public string Rank { get; } = "星魂";
- public string Avatar { get; } = "角色";
- public string Material { get; } = "材料";
- public string Relic { get; } = "遺器";
- public string Equipment { get; } = "光錐";
- public string Talent { get; } = "行跡";
- public string Banner { get; } = "卡池";
- public string Activity { get; } = "活動";
- public string Buff { get; } = "祝福";
- public string Miracle { get; } = "奇物";
- public string Unlock { get; } = "奢侈品";
+ public string Rank => "星魂";
+ public string Avatar => "角色";
+ public string Material => "材料";
+ public string Relic => "遺器";
+ public string Equipment => "光錐";
+ public string Talent => "行跡";
+ public string Banner => "卡池";
+ public string Activity => "活動";
+ public string Buff => "祝福";
+ public string Miracle => "奇物";
+ public string Unlock => "奢侈品";
// server info
- public string Config { get; } = "配置文件";
- public string Language { get; } = "語言";
- public string Log { get; } = "日誌";
- public string GameData { get; } = "遊戲數據";
- public string Database { get; } = "數據庫";
- public string Command { get; } = "命令";
- public string WebServer { get; } = "Web服務器";
- public string Plugin { get; } = "插件";
- public string Handler { get; } = "包處理器";
- public string Dispatch { get; } = "全局分發";
- public string Game { get; } = "遊戲";
- public string Handbook { get; } = "手冊";
- public string NotFound { get; } = "未找到";
- public string Error { get; } = "錯誤";
- public string FloorInfo { get; } = "區域文件";
- public string FloorGroupInfo { get; } = "區域組文件";
- public string FloorMissingResult { get; } = "傳送與世界生成";
- public string FloorGroupMissingResult { get; } = "傳送、怪物戰鬥與世界生成";
- public string Mission { get; } = "任務";
- public string MissionInfo { get; } = "任務文件";
- public string MazeSkill { get; } = "角色秘技";
- public string MazeSkillInfo { get; } = "角色秘技文件";
- public string Dialogue { get; } = "模擬宇宙事件";
- public string DialogueInfo { get; } = "模擬宇宙事件文件";
- public string Performance { get; } = "劇情操作";
- public string PerformanceInfo { get; } = "劇情操作文件";
- public string RogueChestMap { get; } = "模擬宇宙地圖";
- public string RogueChestMapInfo { get; } = "模擬宇宙地圖文件";
- public string ChessRogueRoom { get; } = "模擬宇宙DLC";
- public string ChessRogueRoomInfo { get; } = "模擬宇宙DLC文件";
+ public string Config => "配置文件";
+ public string Language => "語言";
+ public string Log => "日誌";
+ public string GameData => "遊戲數據";
+ public string Database => "數據庫";
+ public string Command => "命令";
+ public string WebServer => "Web服務器";
+ public string Plugin => "插件";
+ public string Handler => "包處理器";
+ public string Dispatch => "全局分發";
+ public string Game => "遊戲";
+ public string Handbook => "手冊";
+ public string NotFound => "未找到";
+ public string Error => "錯誤";
+ public string FloorInfo => "區域文件";
+ public string FloorGroupInfo => "區域組文件";
+ public string FloorMissingResult => "傳送與世界生成";
+ public string FloorGroupMissingResult => "傳送、怪物戰鬥與世界生成";
+ public string Mission => "任務";
+ public string MissionInfo => "任務文件";
+ public string SubMission => "子任務";
+ public string SubMissionInfo => "子任務文件";
+ public string MazeSkill => "角色秘技";
+ public string MazeSkillInfo => "角色秘技文件";
+ public string Dialogue => "模擬宇宙事件";
+ public string DialogueInfo => "模擬宇宙事件文件";
+ public string Performance => "劇情操作";
+ public string PerformanceInfo => "劇情操作文件";
+ public string RogueChestMap => "模擬宇宙地圖";
+ public string RogueChestMapInfo => "模擬宇宙地圖文件";
+ public string ChessRogueRoom => "模擬宇宙DLC";
+ public string ChessRogueRoomInfo => "模擬宇宙DLC文件";
}
#endregion
@@ -129,24 +131,24 @@ public class WebTextCHT
///
public class ServerInfoTextCHT
{
- public string Shutdown { get; } = "關閉中…";
- public string CancelKeyPressed { get; } = "已按下取消鍵 (Ctrl + C),服務器即將關閉…";
- public string StartingServer { get; } = "正在啟動 DanhengServer…";
- public string LoadingItem { get; } = "正在加載 {0}…";
- public string RegisterItem { get; } = "註冊了 {0} 個 {1}。";
- public string FailedToLoadItem { get; } = "加載 {0} 失敗。";
- public string FailedToInitializeItem { get; } = "初始化 {0} 失敗。";
- public string FailedToReadItem { get; } = "讀取 {0} 失敗,文件{1}";
- public string GeneratedItem { get; } = "已生成 {0}。";
- public string LoadedItem { get; } = "已加載 {0}。";
- public string LoadedItems { get; } = "已加載 {0} 個 {1}。";
- public string ServerRunning { get; } = "{0} 服務器正在監聽 {1}";
- public string ServerStarted { get; } = "啟動完成!用時 {0}s,擊敗了99%的用戶,輸入 『help』 來獲取命令幫助"; // 玩梗,考慮英語版本將其本土化
- public string MissionEnabled { get; } = "任務系統已啟用,此功能仍在開發中,且可能不會按預期工作,如果遇見任何bug,請匯報給開發者。";
+ public string Shutdown => "關閉中…";
+ public string CancelKeyPressed => "已按下取消鍵 (Ctrl + C),服務器即將關閉…";
+ public string StartingServer => "正在啟動 DanhengServer…";
+ public string LoadingItem => "正在加載 {0}…";
+ public string RegisterItem => "註冊了 {0} 個 {1}。";
+ public string FailedToLoadItem => "加載 {0} 失敗。";
+ public string FailedToInitializeItem => "初始化 {0} 失敗。";
+ public string FailedToReadItem => "讀取 {0} 失敗,文件{1}";
+ public string GeneratedItem => "已生成 {0}。";
+ public string LoadedItem => "已加載 {0}。";
+ public string LoadedItems => "已加載 {0} 個 {1}。";
+ public string ServerRunning => "{0} 服務器正在監聽 {1}";
+ public string ServerStarted => "啟動完成!用時 {0}s,擊敗了99%的用戶,輸入 『help』 來獲取命令幫助"; // 玩梗,考慮英語版本將其本土化
+ public string MissionEnabled => "任務系統已啟用,此功能仍在開發中,且可能不會按預期工作,如果遇見任何bug,請匯報給開發者。";
- public string ConfigMissing { get; } = "{0} 缺失,請檢查你的資源文件夾:{1},{2} 可能不能使用。";
- public string UnloadedItems { get; } = "卸載了所有 {0}。";
- public string SaveDatabase { get; } = "已保存數據庫,用時 {0}s";
+ public string ConfigMissing => "{0} 缺失,請檢查你的資源文件夾:{1},{2} 可能不能使用。";
+ public string UnloadedItems => "卸載了所有 {0}。";
+ public string SaveDatabase => "已保存數據庫,用時 {0}s";
}
#endregion
@@ -162,14 +164,14 @@ public class ServerInfoTextCHT
///
public class NoticeTextCHT
{
- public string PlayerNotFound { get; } = "未找到玩家!";
- public string InvalidArguments { get; } = "無效的參數!";
- public string NoPermission { get; } = "你沒有權限這麼做!";
- public string CommandNotFound { get; } = "未找到命令! 輸入 '/help' 來獲取幫助";
- public string TargetOffline { get; } = "目標 {0}({1}) 離線了!清除當前目標";
- public string TargetFound { get; } = "找到目標 {0}({1}),下一次命令將默認對其執行";
- public string TargetNotFound { get; } = "未找到目標 {0}!";
- public string InternalError { get; } = "在處理命令時發生了內部錯誤!";
+ public string PlayerNotFound => "未找到玩家!";
+ public string InvalidArguments => "無效的參數!";
+ public string NoPermission => "你沒有權限這麼做!";
+ public string CommandNotFound => "未找到命令! 輸入 '/help' 來獲取幫助";
+ public string TargetOffline => "目標 {0}({1}) 離線了!清除當前目標";
+ public string TargetFound => "找到目標 {0}({1}),下一次命令將默認對其執行";
+ public string TargetNotFound => "未找到目標 {0}!";
+ public string InternalError => "在處理命令時發生了內部錯誤!";
}
///
@@ -177,12 +179,13 @@ public class NoticeTextCHT
///
public class HeroTextCHT
{
- public string Desc { get; } = "切換主角的性別/形態";
- public string Usage { get; } = "/hero /";
- public string GenderNotSpecified { get; } = "性別不存在!";
- public string HeroTypeNotSpecified { get; } = "主角類型不存在!";
- public string GenderChanged { get; } = "性別已更改!";
- public string HeroTypeChanged { get; } = "主角類型已更改!";
+ public string Desc => "切換主角的性別/形態\n當切換性別時,genderId為1代表男性,2代表女性\n當切換形態時,8001代表毀滅命途,8003代表存護命途,8005代表同諧命途。\n注意,切換性別時會清空所有可選命途以及行跡,為不可逆操作!";
+
+ public string Usage => "用法:/hero gender [genderId]\n\n用法:/hero type [typeId]";
+ public string GenderNotSpecified => "性別不存在!";
+ public string HeroTypeNotSpecified => "主角類型不存在!";
+ public string GenderChanged => "性別已更改!";
+ public string HeroTypeChanged => "主角類型已更改!";
}
///
@@ -190,9 +193,12 @@ public class HeroTextCHT
///
public class UnlockAllTextCHT
{
- public string Desc { get; } = "解鎖所有在類別內的對象";
- public string Usage { get; } = "/unlockall ";
- public string AllMissionsUnlocked { get; } = "所有任務已解鎖!";
+ public string Desc =>
+ "解鎖所有在類別內的對象\n" +
+ "使用 /unlockall mission 以完成所有任務,使用後會被踢出,重新登錄後可能會被教程卡住,請謹慎使用";
+
+ public string Usage => "用法:/unlockall mission";
+ public string AllMissionsUnlocked => "所有任務已解鎖!";
}
///
@@ -200,17 +206,16 @@ public class UnlockAllTextCHT
///
public class AvatarTextCHT
{
- public string Desc { get; } = "設定玩家已有角色的屬性";
+ public string Desc => "設定玩家已有角色的屬性\n設置行跡等級時,設置X級即設置所有行跡節點至X級,若大於此節點允許的最高等級,設置為最高等級\n注意:-1意為所有已擁有角色";
- public string Usage { get; } =
- "/avatar ///";
+ public string Usage => "用法:/avatar talent [角色ID/-1] [行跡等級]\n\n用法:/avatar get [角色ID]\n\n用法:/avatar rank [角色ID/-1] [星魂]\n\n用法:/avatar level [角色ID/-1] [角色等級]";
- public string InvalidLevel { get; } = "無效 {0}等級";
- public string AllAvatarsLevelSet { get; } = "已將全部角色 {0}等級設置為 {1}";
- public string AvatarLevelSet { get; } = "已將 {0} 角色 {1}等級設置為 {2}";
- public string AvatarNotFound { get; } = "角色不存在!";
- public string AvatarGet { get; } = "獲取到角色 {0}!";
- public string AvatarFailedGet { get; } = "獲取角色 {0} 失敗!";
+ public string InvalidLevel => "{0}等級無效";
+ public string AllAvatarsLevelSet => "已將全部角色 {0}等級設置為 {1}";
+ public string AvatarLevelSet => "已將 {0} 角色 {1}等級設置為 {2}";
+ public string AvatarNotFound => "角色不存在!";
+ public string AvatarGet => "獲取到角色 {0}!";
+ public string AvatarFailedGet => "獲取角色 {0} 失敗!";
}
///
@@ -218,10 +223,10 @@ public class AvatarTextCHT
///
public class GiveTextCHT
{
- public string Desc { get; } = "給予玩家物品";
- public string Usage { get; } = "/give <物品ID> l<等級> x<數量> r<疊影>";
- public string ItemNotFound { get; } = "未找到物品!";
- public string GiveItem { get; } = "給予 @{0} {1} 個物品 {2}";
+ public string Desc => "給予玩家物品,此處可輸入角色ID,但無法設置行跡、等級及星魂";
+ public string Usage => "用法:/give <物品ID> l<等級> x<數量> r<疊影>";
+ public string ItemNotFound => "未找到物品!";
+ public string GiveItem => "給予 @{0} {1} 個物品 {2}";
}
///
@@ -229,9 +234,11 @@ public class GiveTextCHT
///
public class GiveAllTextCHT
{
- public string Desc { get; } = "給予玩家全部指定類型的物品";
- public string Usage { get; } = "/giveall r<疊影> l<等級> x<數量>";
- public string GiveAllItems { get; } = "已給予所有 {0}, 各 {1} 個";
+ public string Desc => "給予玩家全部指定類型的物品\navatar意為角色,equipment意為光錐,relic意為遺器,unlock意為氣泡、手機壁紙、頭像";
+
+ public string Usage => "用法:/giveall avatar r<星魂> l<等級>\n\n用法:/giveall equipment r<疊影> l<等級> x<數量>\n\n用法:/giveall relic l<等級> x<數量>\n\n用法:/giveall unlock";
+
+ public string GiveAllItems => "已給予所有 {0}, 各 {1} 個";
}
///
@@ -239,10 +246,10 @@ public class GiveAllTextCHT
///
public class LineupTextCHT
{
- public string Desc { get; } = "管理玩家的隊伍";
- public string Usage { get; } = "/lineup /";
- public string PlayerGainedMp { get; } = "玩家已獲得 {0} 秘技點";
- public string HealedAllAvatars { get; } = "成功治癒當前隊伍中的所有角色";
+ public string Desc => "管理玩家的隊伍\n秘技點一次性只能獲得兩個";
+ public string Usage => "用法:/lineup mp [秘技點數量]\n\n用法:/lineup heal";
+ public string PlayerGainedMp => "玩家已獲得 {0} 秘技點";
+ public string HealedAllAvatars => "成功治癒當前隊伍中的所有角色";
}
///
@@ -250,10 +257,10 @@ public class LineupTextCHT
///
public class HelpTextCHT
{
- public string Desc { get; } = "顯示幫助信息";
- public string Usage { get; } = "/help";
- public string Commands { get; } = "命令:";
- public string CommandUsage { get; } = "用法: ";
+ public string Desc => "顯示幫助信息";
+ public string Usage => "用法:/help\n\n用法:/help [命令]";
+ public string Commands => "命令:";
+ public string CommandPermission => "所需權限: ";
}
///
@@ -261,9 +268,9 @@ public class HelpTextCHT
///
public class KickTextCHT
{
- public string Desc { get; } = "踢出玩家";
- public string Usage { get; } = "/kick";
- public string PlayerKicked { get; } = "玩家 {0} 已被踢出!";
+ public string Desc => "踢出玩家";
+ public string Usage => "用法:/kick";
+ public string PlayerKicked => "玩家 {0} 已被踢出!";
}
///
@@ -271,22 +278,25 @@ public class KickTextCHT
///
public class MissionTextCHT
{
- public string Desc { get; } = "管理玩家的任務";
+ public string Desc =>
+ "管理玩家的任務\n" +
+ "使用 pass 完成當前正在進行的所有任務,此命令易造成嚴重卡頓,請儘量使用 /mission finish 替代\n" +
+ "使用 running 獲取正在進行的任務以及可能卡住的任務,使用後可能會出現較長任務列表,請注意甄別\n" +
+ "使用 reaccept 可重新進行指定主任務,請瀏覽 handbook 來獲取主任務ID";
- public string Usage { get; } =
- "/mission ////";
+ public string Usage => "用法:/mission pass\n\n用法:/mission finish [子任務ID]\n\n用法:/mission running\n\n用法:/mission reaccept [主任務ID]";
- public string AllMissionsFinished { get; } = "所有任務已完成!";
- public string AllRunningMissionsFinished { get; } = "共 {0} 個進行中的任務已完成!";
- public string MissionFinished { get; } = "任務 {0} 已完成!";
- public string InvalidMissionId { get; } = "無效的任務ID!";
- public string NoRunningMissions { get; } = "沒有正在進行的任務!";
+ public string AllMissionsFinished => "所有任務已完成!";
+ public string AllRunningMissionsFinished => "共 {0} 個進行中的任務已完成!";
+ public string MissionFinished => "任務 {0} 已完成!";
+ public string InvalidMissionId => "無效的任務ID!";
+ public string NoRunningMissions => "沒有正在進行的任務!";
- public string RunningMissions { get; } = "正在進行的任務:";
- public string PossibleStuckMissions { get; } = "可能卡住的任務:";
- public string MainMission { get; } = "主任務";
+ public string RunningMissions => "正在進行的任務:";
+ public string PossibleStuckMissions => "可能卡住的任務:";
+ public string MainMission => "主任務";
- public string MissionReAccepted { get; } = "重新接受任務 {0}!";
+ public string MissionReAccepted => "重新接受任務 {0}!";
}
///
@@ -294,15 +304,14 @@ public class MissionTextCHT
///
public class RelicTextCHT
{
- public string Desc { get; } = "管理玩家的遺器";
+ public string Desc => "管理玩家的遺器\n主詞條可選,副詞條可選,但至少存在其中之一\n等級限制:1≤等級≤9999";
- public string Usage { get; } =
- "/relic <遺器ID> <主詞條ID> <小詞條ID1:小詞條等級> <小詞條ID2:小詞條等級> <小詞條ID3:小詞條等級> <小詞條ID4:小詞條等級> l<等級> x<數量>";
+ public string Usage => "用法:/relic <遺器ID> <主詞條ID> <小詞條ID1:小詞條等級> <小詞條ID2:小詞條等級> <小詞條ID3:小詞條等級> <小詞條ID4:小詞條等級> l<等級> x<數量>";
- public string RelicNotFound { get; } = "遺器不存在!";
- public string InvalidMainAffixId { get; } = "主詞條ID無效";
- public string InvalidSubAffixId { get; } = "副詞條ID無效";
- public string RelicGiven { get; } = "給予玩家 @{0} {1} 個遺器 {2}, 主詞條 {3}";
+ public string RelicNotFound => "遺器不存在!";
+ public string InvalidMainAffixId => "主詞條ID無效";
+ public string InvalidSubAffixId => "副詞條ID無效";
+ public string RelicGiven => "給予玩家 @{0} {1} 個遺器 {2}, 主詞條 {3}";
}
///
@@ -310,9 +319,9 @@ public class RelicTextCHT
///
public class ReloadTextCHT
{
- public string Desc { get; } = "重新加載指定的配置";
- public string Usage { get; } = "/reload <配置名>(banner - 卡池, activity - 活動)";
- public string ConfigReloaded { get; } = "配置 {0} 已重新加載!";
+ public string Desc => "重新加載指定的配置\n配置名:banner - 卡池, activity - 活動";
+ public string Usage => "用法:/reload <配置名>";
+ public string ConfigReloaded => "配置 {0} 已重新加載!";
}
///
@@ -320,18 +329,18 @@ public class ReloadTextCHT
///
public class RogueTextCHT
{
- public string Desc { get; } = "管理玩家模擬宇宙中的數據";
+ public string Desc => "管理玩家模擬宇宙中的數據\n-1意為所有祝福(已擁有祝福)\n使用 buff 來獲取祝福\n使用 enhance 來強化祝福";
- public string Usage { get; } =
- "/rogue ////";
+ public string Usage => "用法:/rogue money [宇宙碎片數量]\n\n用法:/rogue buff [祝福ID/-1]\n\n用法:/rogue miracle [奇物ID]\n\n用法:/rogue enhance [祝福ID/-1]\n\n用法:/rogue unstuck - 脫離事件";
- public string PlayerGainedMoney { get; } = "玩家已獲得 {0} 宇宙碎片";
- public string PlayerGainedAllItems { get; } = "玩家已獲得所有{0}";
- public string PlayerGainedItem { get; } = "玩家已獲得{0} {1}";
- public string PlayerEnhancedBuff { get; } = "玩家已強化祝福 {0}";
- public string PlayerEnhancedAllBuffs { get; } = "玩家已強化所有祝福";
- public string PlayerUnstuck { get; } = "玩家已脫離事件";
- public string NotFoundItem { get; } = "未找到 {0}!";
+ public string PlayerGainedMoney => "玩家已獲得 {0} 宇宙碎片";
+ public string PlayerGainedAllItems => "玩家已獲得所有{0}";
+ public string PlayerGainedItem => "玩家已獲得{0} {1}";
+ public string PlayerEnhancedBuff => "玩家已強化祝福 {0}";
+ public string PlayerEnhancedAllBuffs => "玩家已強化所有祝福";
+ public string PlayerUnstuck => "玩家已脫離事件";
+ public string NotFoundItem => "未找到 {0}!";
+ public string PlayerNotInRogue => "玩家不在模擬宇宙中!";
}
///
@@ -339,20 +348,26 @@ public class RogueTextCHT
///
public class SceneTextCHT
{
- public string Desc { get; } = "管理玩家場景";
+ public string Desc =>
+ "管理玩家場景\n" +
+ "提示:此組大多為調試使用,使用命令前,請確保你清楚你在做什麼!\n" +
+ "使用 prop 來設置道具狀態,在Common/Enums/Scene/PropStateEnum.cs獲取狀態列表\n" +
+ "使用 unlockall 來解鎖場景內所有道具(即將所有能設置為open狀態的道具設置為open狀態),此命令有較大可能會導致遊戲加載卡條約90%,使用 /scene reset 來解決問題\n" +
+ "使用 change 來進入指定場景,要獲取EntryId,請訪問 Resources/MapEntrance.json\n" +
+ "使用 reload 來重新加載當前場景,並回到初始位置\n" +
+ "使用 reset 來重置指定場景所有道具狀態,要獲取當前FloorId,請訪問數據庫 Player 表";
- public string Usage { get; } =
- "/scene ////";
+ public string Usage => "用法:/scene prop [組ID] [道具ID] [狀態]\n\n用法:/scene remove [實體ID]\n\n用法:/scene unlockall\n\n用法:/scene change [entryId]\n\n用法:/scene reload\n\n用法:/scene reset ";
- public string LoadedGroups { get; } = "已加載組: {0}";
- public string PropStateChanged { get; } = "道具: {0} 的狀態已設置為 {1}";
- public string PropNotFound { get; } = "未找到道具!";
- public string EntityRemoved { get; } = "實體 {0} 已被移除";
- public string EntityNotFound { get; } = "未找到實體!";
- public string AllPropsUnlocked { get; } = "所有道具已解鎖!";
- public string SceneChanged { get; } = "已進入場景 {0}";
- public string SceneReloaded { get; } = "場景已重新加載!";
- public string SceneReset { get; } = "已重置場景 {0} 中所有道具狀態!";
+ public string LoadedGroups => "已加載組: {0}";
+ public string PropStateChanged => "道具: {0} 的狀態已設置為 {1}";
+ public string PropNotFound => "未找到道具!";
+ public string EntityRemoved => "實體 {0} 已被移除";
+ public string EntityNotFound => "未找到實體!";
+ public string AllPropsUnlocked => "所有道具已解鎖!";
+ public string SceneChanged => "已進入場景 {0}";
+ public string SceneReloaded => "場景已重新加載!";
+ public string SceneReset => "已重置場景 {0} 中所有道具狀態!";
}
///
@@ -360,13 +375,10 @@ public class SceneTextCHT
///
public class MailTextCHT
{
- public string Desc { get; } = "管理玩家的郵件";
-
- public string Usage { get; } =
- "/mail /";
-
- public string MailSent { get; } = "郵件已發送!";
- public string MailSentWithAttachment { get; } = "帶附件的郵件已發送!";
+ public string Desc => "管理玩家的郵件";
+ public string Usage => "用法:/mail send [發送名稱] [標題] [內容] [模板ID] [過期天數]";
+ public string MailSent => "郵件已發送!";
+ public string MailSentWithAttachment => "帶附件的郵件已發送!";
}
///
@@ -374,9 +386,9 @@ public class MailTextCHT
///
public class RaidTextCHT
{
- public string Desc { get; } = "管理玩家的任務臨時場景";
- public string Usage { get; } = "/raid ";
- public string Leaved { get; } = "已離開臨時場景!";
+ public string Desc => "管理玩家的任務臨時場景";
+ public string Usage => "用法:/raid leave - 離開臨時場景";
+ public string Leaved => "已離開臨時場景!";
}
///
@@ -384,14 +396,14 @@ public class RaidTextCHT
///
public class AccountTextCHT
{
- public string Desc { get; } = "創建賬號";
- public string Usage { get; } = "/account create <用戶名>";
- public string InvalidUid { get; } = "無效UID參數!";
- public string CreateError { get; } = "出現內部錯誤 {0} ";
- public string CreateSuccess { get; } = "新賬號 {0} 創建成功!";
- public string DuplicateAccount { get; } = "賬號 {0} 已存在!";
- public string DuplicateUID { get; } = "UID {0} 已存在!";
- public string DataError { get; } = "新賬號獲取失敗! {0}!";
+ public string Desc => "創建賬號\n注意:此命令未經測試,請謹慎使用!";
+ public string Usage => "用法:/account create <用戶名>";
+ public string InvalidUid => "無效UID參數!";
+ public string CreateError => "出現內部錯誤 {0} ";
+ public string CreateSuccess => "新賬號 {0} 創建成功!";
+ public string DuplicateAccount => "賬號 {0} 已存在!";
+ public string DuplicateUID => "UID {0} 已存在!";
+ public string DataError => "新賬號獲取失敗! {0}!";
}
///
@@ -399,11 +411,11 @@ public class AccountTextCHT
///
public class UnstuckTextCHT
{
- public string Desc { get; } = "將玩家傳送回預設場景";
- public string Usage { get; } = "/unstuck ";
- public string UnstuckSuccess { get; } = "已成功將該玩家傳送回預設場景";
- public string UidNotExist { get; } = "該UID不存在!";
- public string PlayerIsOnline { get; } = "該玩家目前在線上!";
+ public string Desc => "將玩家傳送回默認場景";
+ public string Usage => "用法:/unstuck ";
+ public string UnstuckSuccess => "已成功將該玩家傳送回默認場景";
+ public string UidNotExist => "該UID不存在!";
+ public string PlayerIsOnline => "該玩家目前在線上!";
}
///
@@ -411,9 +423,9 @@ public class UnstuckTextCHT
///
public class SetlevelTextCHT
{
- public string Desc { get; } = "設定玩家等級";
- public string Usage { get; } = "/setlevel <等級>";
- public string SetlevelSuccess { get; } = "等級設定成功!";
+ public string Desc => "設定玩家等級";
+ public string Usage => "用法:/setlevel <等級>";
+ public string SetlevelSuccess => "等級設定成功!";
}
#endregion
diff --git a/Common/Internationalization/Message/LanguageEN.cs b/Common/Internationalization/Message/LanguageEN.cs
index ed9ed90c..65ffec7c 100644
--- a/Common/Internationalization/Message/LanguageEN.cs
+++ b/Common/Internationalization/Message/LanguageEN.cs
@@ -1,8 +1,4 @@
-// NOTICE:
-// THIS FILE IS GENERATED BY ChatGPT
-// THERES MANY ERRORS IN THIS FILE
-
-namespace EggLink.DanhengServer.Internationalization.Message;
+namespace EggLink.DanhengServer.Internationalization.Message;
#region Root
@@ -39,49 +35,51 @@ public class ServerTextEN
///
public class WordTextEN
{
- public string Rank { get; } = "Rank";
- public string Avatar { get; } = "Avatar";
- public string Material { get; } = "Material";
- public string Relic { get; } = "Relic";
- public string Equipment { get; } = "Light Cone";
- public string Talent { get; } = "Talent";
- public string Banner { get; } = "Gacha";
- public string Activity { get; } = "Activity";
- public string Buff { get; } = "Blessing";
- public string Miracle { get; } = "Curio";
- public string Unlock { get; } = "Luxury";
+ public string Rank => "Rank";
+ public string Avatar => "Avatar";
+ public string Material => "Material";
+ public string Relic => "Relic";
+ public string Equipment => "Light Cone";
+ public string Talent => "Talent";
+ public string Banner => "Gacha";
+ public string Activity => "Activity";
+ public string Buff => "Blessing";
+ public string Miracle => "Curio";
+ public string Unlock => "Luxury";
// server info
- public string Config { get; } = "Config File";
- public string Language { get; } = "Language";
- public string Log { get; } = "Log";
- public string GameData { get; } = "Game Data";
- public string Database { get; } = "Database";
- public string Command { get; } = "Command";
- public string WebServer { get; } = "Web Server";
- public string Plugin { get; } = "Plugin";
- public string Handler { get; } = "Packet Handler";
- public string Dispatch { get; } = "Global Dispatch";
- public string Game { get; } = "Game";
- public string Handbook { get; } = "Handbook";
- public string NotFound { get; } = "Not Found";
- public string Error { get; } = "Error";
- public string FloorInfo { get; } = "Floor Info";
- public string FloorGroupInfo { get; } = "Floor Group Info";
- public string FloorMissingResult { get; } = "Teleportation and World Generation";
- public string FloorGroupMissingResult { get; } = "Teleportation, Monster Battles, and World Generation";
- public string Mission { get; } = "Mission";
- public string MissionInfo { get; } = "Mission Info";
- public string MazeSkill { get; } = "Maze Skill";
- public string MazeSkillInfo { get; } = "Maze Skill Info";
- public string Dialogue { get; } = "Simulated Universe Event";
- public string DialogueInfo { get; } = "Simulated Universe Event Info";
- public string Performance { get; } = "Performance";
- public string PerformanceInfo { get; } = "Performance Info";
- public string RogueChestMap { get; } = "Simulated Universe Map";
- public string RogueChestMapInfo { get; } = "Simulated Universe Map Info";
- public string ChessRogueRoom { get; } = "Simulated Universe DLC";
- public string ChessRogueRoomInfo { get; } = "Simulated Universe DLC Info";
+ public string Config => "Config File";
+ public string Language => "Language";
+ public string Log => "Log";
+ public string GameData => "Game Data";
+ public string Database => "Database";
+ public string Command => "Command";
+ public string WebServer => "Web Server";
+ public string Plugin => "Plugin";
+ public string Handler => "Packet Handler";
+ public string Dispatch => "Global Dispatch";
+ public string Game => "Game";
+ public string Handbook => "Handbook";
+ public string NotFound => "Not Found";
+ public string Error => "Error";
+ public string FloorInfo => "Floor Info";
+ public string FloorGroupInfo => "Floor Group Info";
+ public string FloorMissingResult => "Teleportation and World Generation";
+ public string FloorGroupMissingResult => "Teleportation, Monster Battles, and World Generation";
+ public string Mission => "Mission";
+ public string MissionInfo => "Mission Info";
+ public string SubMission => "Sub Mission";
+ public string SubMissionInfo => "Sub Mission Info";
+ public string MazeSkill => "Maze Skill";
+ public string MazeSkillInfo => "Maze Skill Info";
+ public string Dialogue => "Simulated Universe Event";
+ public string DialogueInfo => "Simulated Universe Event Info";
+ public string Performance => "Performance";
+ public string PerformanceInfo => "Performance Info";
+ public string RogueChestMap => "Simulated Universe Map";
+ public string RogueChestMapInfo => "Simulated Universe Map Info";
+ public string ChessRogueRoom => "Simulated Universe DLC";
+ public string ChessRogueRoomInfo => "Simulated Universe DLC Info";
}
#endregion
@@ -133,30 +131,24 @@ public class WebTextEN
///
public class ServerInfoTextEN
{
- public string Shutdown { get; } = "Shutting down...";
- public string CancelKeyPressed { get; } = "Cancel key pressed (Ctrl + C), server shutting down...";
- public string StartingServer { get; } = "Starting DanhengServer...";
- public string LoadingItem { get; } = "Loading {0}...";
- public string RegisterItem { get; } = "Registered {0} {1}(s).";
- public string FailedToLoadItem { get; } = "Failed to load {0}.";
- public string FailedToInitializeItem { get; } = "Failed to initialize {0}.";
- public string FailedToReadItem { get; } = "Failed to read {0}, file {1}";
- public string GeneratedItem { get; } = "Generated {0}.";
- public string LoadedItem { get; } = "Loaded {0}.";
- public string LoadedItems { get; } = "Loaded {0} {1}(s).";
- public string ServerRunning { get; } = "{0} server listening on {1}";
+ public string Shutdown => "Shutting down...";
+ public string CancelKeyPressed => "Cancel key pressed (Ctrl + C), server shutting down...";
+ public string StartingServer => "Starting DanhengServer...";
+ public string LoadingItem => "Loading {0}...";
+ public string RegisterItem => "Registered {0} {1}(s).";
+ public string FailedToLoadItem => "Failed to load {0}.";
+ public string FailedToInitializeItem => "Failed to initialize {0}.";
+ public string FailedToReadItem => "Failed to read {0}, file {1}";
+ public string GeneratedItem => "Generated {0}.";
+ public string LoadedItem => "Loaded {0}.";
+ public string LoadedItems => "Loaded {0} {1}(s).";
+ public string ServerRunning => "{0} server listening on {1}";
+ public string ServerStarted => "Startup complete! Took {0}s, better than 99% of users. Type 'help' for command help"; // This is a meme, consider localizing in English
+ public string MissionEnabled => "Mission system enabled. This feature is still in development and may not work as expected. Please report any bugs to the developers.";
- public string ServerStarted { get; } =
- "Startup complete! Took {0}s, better than 99% of users. Type 'help' for command help"; // This is a meme, consider localizing in English
-
- public string MissionEnabled { get; } =
- "Mission system enabled. This feature is still in development and may not work as expected. Please report any bugs to the developers.";
-
- public string ConfigMissing { get; } =
- "{0} is missing. Please check your resource folder: {1}, {2} may not be available.";
-
- public string UnloadedItems { get; } = "Unloaded all {0}.";
- public string SaveDatabase { get; } = "Database saved in {0}s";
+ public string ConfigMissing => "{0} is missing. Please check your resource folder: {1}, {2} may not be available.";
+ public string UnloadedItems => "Unloaded all {0}.";
+ public string SaveDatabase => "Database saved in {0}s";
}
#endregion
@@ -172,14 +164,14 @@ public class ServerInfoTextEN
///
public class NoticeTextEN
{
- public string PlayerNotFound { get; } = "Player not found!";
- public string InvalidArguments { get; } = "Invalid arguments!";
- public string NoPermission { get; } = "You do not have permission to do this!";
- public string CommandNotFound { get; } = "Command not found! Type '/help' to get help.";
- public string TargetNotFound { get; } = "Target {0} not found!";
- public string TargetOffline { get; } = "Target {0}({1}) is offline! Clear the target.";
- public string TargetFound { get; } = "Online player {0}({1}) is found, the next command will target it by default.";
- public string InternalError { get; } = "An error occurred while executing the command!";
+ public string PlayerNotFound => "Player not found!";
+ public string InvalidArguments => "Invalid arguments!";
+ public string NoPermission => "You do not have permission to do this!";
+ public string CommandNotFound => "Command not found! Type '/help' to get help.";
+ public string TargetNotFound => "Target {0} not found!";
+ public string TargetOffline => "Target {0}({1}) is offline! Clear the target.";
+ public string TargetFound => "Online player {0}({1}) is found, the next command will target it by default.";
+ public string InternalError => "An error occurred while executing the command!";
}
///
@@ -187,15 +179,14 @@ public class NoticeTextEN
///
public class HeroTextEN
{
- public string Desc { get; } = "Switch the gender/type of the main character";
+ public string Desc => "Switch the gender/type of the main character\nWhen switch the gender, 1 means male, 2 means female\nWhen switch the type(path), 8001 means Destruction, 8003 means Preservation, 8005 means Harmony.\nNotice: Switch gender will clear all the paths and talents of main character, this operation is irreversible!";
- public string Usage { get; } =
- "/hero /";
+ public string Usage => "Usage: /hero gender [genderId]\n\nUsage: /hero type [typeId]";
- public string GenderNotSpecified { get; } = "Gender does not exist!";
- public string HeroTypeNotSpecified { get; } = "Main character type does not exist!";
- public string GenderChanged { get; } = "Gender has been changed!";
- public string HeroTypeChanged { get; } = "Main character type has been changed!";
+ public string GenderNotSpecified => "Gender does not exist!";
+ public string HeroTypeNotSpecified => "Main character type does not exist!";
+ public string GenderChanged => "Gender has been changed!";
+ public string HeroTypeChanged => "Main character type has been changed!";
}
///
@@ -203,9 +194,11 @@ public class HeroTextEN
///
public class UnlockAllTextEN
{
- public string Desc { get; } = "Unlock all objects in the category";
- public string Usage { get; } = "/unlockall ";
- public string AllMissionsUnlocked { get; } = "All tasks have been unlocked!";
+ public string Desc =>
+ "Unlock the objects in given category\n" +
+ "Use '/unlockall mission' to finish all missions, and the target player will be kicked, after re-login, the player may be stuck in tutorial, please use with caution";
+ public string Usage => "Usage: /unlockall mission";
+ public string AllMissionsUnlocked => "All missions have been unlocked!";
}
///
@@ -213,17 +206,16 @@ public class UnlockAllTextEN
///
public class AvatarTextEN
{
- public string Desc { get; } = "Set the properties of the player's existing characters";
+ public string Desc => "Set the properties of the avatars player owned\nWhen set talent level, set to X level means set all talent point to X level, if greater than the point max level, set to max level\nNotice: -1 means all owned avatars";
- public string Usage { get; } =
- "/avatar ///";
+ public string Usage => "Usage: /avatar talent [Avatar ID/-1] [Talent Level]\n\nUsage: /avatar get [Avatar ID]\n\nUsage: /avatar rank [Avatar ID/-1] [Rank]\n\nUsage: /avatar level [Avatar ID/-1] [Avatar Level]";
- public string InvalidLevel { get; } = "Invalid {0} level";
- public string AllAvatarsLevelSet { get; } = "Set all characters' {0} level to {1}";
- public string AvatarLevelSet { get; } = "Set character {0}'s {1} level to {2}";
- public string AvatarNotFound { get; } = "Character does not exist!";
- public string AvatarGet { get; } = "Obtained character {0}!";
- public string AvatarFailedGet { get; } = "Failed to obtain character {0}!";
+ public string InvalidLevel => "Invalid {0} level";
+ public string AllAvatarsLevelSet => "Set all characters' {0} level to {1}";
+ public string AvatarLevelSet => "Set character {0}'s {1} level to {2}";
+ public string AvatarNotFound => "Character does not exist!";
+ public string AvatarGet => "Obtained character {0}!";
+ public string AvatarFailedGet => "Failed to obtain character {0}!";
}
///
@@ -231,10 +223,10 @@ public class AvatarTextEN
///
public class GiveTextEN
{
- public string Desc { get; } = "Give player items";
- public string Usage { get; } = "/give - l x r";
- public string ItemNotFound { get; } = "Item not found!";
- public string GiveItem { get; } = "Gave @{0} {1} item(s) {2}";
+ public string Desc => "Give player items, item id can be avatar id, but cant set level, talent, rank";
+ public string Usage => "Usage: /give
- l x r";
+ public string ItemNotFound => "Item not found!";
+ public string GiveItem => "Gave @{0} {1} item(s) {2}";
}
///
@@ -242,12 +234,11 @@ public class GiveTextEN
///
public class GiveAllTextEN
{
- public string Desc { get; } = "Give the player all specified types of items";
+ public string Desc => "Give the player all specified types of items\navatar means characters, equipment means light cones, relic means relic(artifact), unlock means chatBubbles, avatar(head icon), wallpaper";
- public string Usage { get; } =
- "/giveall r l x";
+ public string Usage => "Usage: /giveall avatar r l\n\nUsage: /giveall equipment r l x\n\nUsage: /giveall relic l x\n\nUsage: /giveall unlock";
- public string GiveAllItems { get; } = "Gave all {0}, each {1} items";
+ public string GiveAllItems => "Gave all {0}, each {1} items";
}
///
@@ -255,10 +246,10 @@ public class GiveAllTextEN
///
public class LineupTextEN
{
- public string Desc { get; } = "Manage player's lineup";
- public string Usage { get; } = "/lineup /";
- public string PlayerGainedMp { get; } = "Player gained {0} skill points";
- public string HealedAllAvatars { get; } = "Successfully healed all characters in the current lineup";
+ public string Desc => "Manage player's lineup\nTechnique Point can gain 2 each time";
+ public string Usage => "Usage: /lineup mp [amount]\n\nUsage: /lineup heal";
+ public string PlayerGainedMp => "Player gained {0} Technique Points";
+ public string HealedAllAvatars => "Successfully healed all characters in the current lineup";
}
///
@@ -266,10 +257,11 @@ public class LineupTextEN
///
public class HelpTextEN
{
- public string Desc { get; } = "Show help information";
- public string Usage { get; } = "/help";
- public string Commands { get; } = "Commands:";
- public string CommandUsage { get; } = "Usage: ";
+ public string Desc => "Show help information";
+ public string Usage => "Usage: /help\n\nUsage: /help [cmd]";
+ public string Commands => "Commands:";
+ public string CommandUsage => "Usage: ";
+ public string CommandPermission => "Need Permission: ";
}
///
@@ -277,9 +269,9 @@ public class HelpTextEN
///
public class KickTextEN
{
- public string Desc { get; } = "Kick out player";
- public string Usage { get; } = "/kick";
- public string PlayerKicked { get; } = "Player {0} has been kicked out!";
+ public string Desc => "Kick out player";
+ public string Usage => "Usage: /kick";
+ public string PlayerKicked => "Player {0} has been kicked out!";
}
///
@@ -287,22 +279,25 @@ public class KickTextEN
///
public class MissionTextEN
{
- public string Desc { get; } = "Manage player's tasks";
+ public string Desc =>
+ "Manage player's missions\n" +
+ "Use 'pass' to finish all running mission, this command will cause severe lagging, please use '/mission finish' instead\n" +
+ "Use 'running' to get the running mission and possible stuck missions, after use, a longer mission list may appear, please note that\n" +
+ "Use 'reaccept' to re-accept given main mission, please find main mission id in handbook";
- public string Usage { get; } =
- "/mission ////";
+ public string Usage => "Usage: /mission pass\n\nUsage: /mission finish [Sub mission ID]\n\nUsage: /mission running\n\nUsage: /mission reaccept [main mission id]";
- public string AllMissionsFinished { get; } = "All tasks have been completed!";
- public string AllRunningMissionsFinished { get; } = "A total of {0} ongoing tasks have been completed!";
- public string MissionFinished { get; } = "Task {0} has been completed!";
- public string InvalidMissionId { get; } = "Invalid task ID!";
- public string NoRunningMissions { get; } = "No ongoing tasks!";
+ public string AllMissionsFinished => "All tasks have been completed!";
+ public string AllRunningMissionsFinished => "A total of {0} ongoing tasks have been completed!";
+ public string MissionFinished => "Task {0} has been completed!";
+ public string InvalidMissionId => "Invalid task ID!";
+ public string NoRunningMissions => "No ongoing tasks!";
- public string RunningMissions { get; } = "Ongoing tasks:";
- public string PossibleStuckMissions { get; } = "Possibly stuck tasks:";
- public string MainMission { get; } = "Main task";
+ public string RunningMissions => "Ongoing tasks:";
+ public string PossibleStuckMissions => "Possibly stuck tasks:";
+ public string MainMission => "Main task";
- public string MissionReAccepted { get; } = "Reaccepted task {0}!";
+ public string MissionReAccepted => "Reaccepted task {0}!";
}
///
@@ -310,15 +305,14 @@ public class MissionTextEN
///
public class RelicTextEN
{
- public string Desc { get; } = "Manage player's relics";
+ public string Desc => "Manage player's relics\nmain affix optional, sub affix optional, but at least one of them exists\nLevel limit: 1≤Level≤9999";
- public string Usage { get; } =
- "/relic l x";
+ public string Usage => "Usage: /relic l x";
- public string RelicNotFound { get; } = "Relic does not exist!";
- public string InvalidMainAffixId { get; } = "Invalid main affix ID";
- public string InvalidSubAffixId { get; } = "Invalid sub affix ID";
- public string RelicGiven { get; } = "Gave player @{0} {1} relic(s) {2}, main affix {3}";
+ public string RelicNotFound => "Relic does not exist!";
+ public string InvalidMainAffixId => "Invalid main affix ID";
+ public string InvalidSubAffixId => "Invalid sub affix ID";
+ public string RelicGiven => "Gave player @{0} {1} relic(s) {2}, main affix {3}";
}
///
@@ -326,9 +320,9 @@ public class RelicTextEN
///
public class ReloadTextEN
{
- public string Desc { get; } = "Reload specified configuration";
- public string Usage { get; } = "/reload (banner - gacha, activity - event)";
- public string ConfigReloaded { get; } = "Configuration {0} has been reloaded!";
+ public string Desc => "Reload specified configuration\nConfig Name: banner - Gacha Pool, activity";
+ public string Usage => "Usage: /reload ";
+ public string ConfigReloaded => "Configuration {0} has been reloaded!";
}
///
@@ -336,18 +330,18 @@ public class ReloadTextEN
///
public class RogueTextEN
{
- public string Desc { get; } = "Manage player's data in the simulated universe";
+ public string Desc => "Manage player's data in the simulated universe\n-1 means all blessings (all owned blessings)\nUse 'buff' to get blessings\nUse 'enhance' to enhance blessings";
- public string Usage { get; } =
- "/rogue ////";
+ public string Usage => "Usage: /rogue money [Universe Debris Amount]\n\nUsage: /rogue buff [Blessing Id/-1]\n\nUsage: /rogue miracle [Miracle ID]\n\nUsage: /rogue enhance [Blessing ID/-1]\n\nUsage: /rogue unstuck - Leave event";
- public string PlayerGainedMoney { get; } = "Player gained {0} cosmic fragments";
- public string PlayerGainedAllItems { get; } = "Player gained all {0}";
- public string PlayerGainedItem { get; } = "Player gained {0} {1}";
- public string PlayerEnhancedBuff { get; } = "Player enhanced blessing {0}";
- public string PlayerEnhancedAllBuffs { get; } = "Player enhanced all blessings";
- public string PlayerUnstuck { get; } = "Player unstuck from event";
- public string NotFoundItem { get; } = "{0} not found!";
+ public string PlayerGainedMoney => "Player gained {0} universe debris";
+ public string PlayerGainedAllItems => "Player gained all {0}";
+ public string PlayerGainedItem => "Player gained {0} {1}";
+ public string PlayerEnhancedBuff => "Player enhanced blessing {0}";
+ public string PlayerEnhancedAllBuffs => "Player enhanced all blessings";
+ public string PlayerUnstuck => "Player unstuck from event";
+ public string NotFoundItem => "{0} not found!";
+ public string PlayerNotInRogue => "Player is not in the simulated universe!";
}
///
@@ -355,20 +349,26 @@ public class RogueTextEN
///
public class SceneTextEN
{
- public string Desc { get; } = "Manage player's scenes";
+ public string Desc =>
+ "Manage player scenes\n" +
+ "Note: Most commands in this group are for debugging purposes. Please ensure you understand what you are doing before using any command.\n" +
+ "Use 'prop' to set the state of a prop. For a list of states, refer to Common/Enums/Scene/PropStateEnum.cs\n" +
+ "Use 'unlockall' to unlock all props in the scene (i.e., set all props that can be opened to the 'open' state). This command may cause the game to load to about 90%. Use '/scene reset ' to resolve this issue.\n" +
+ "Use 'change' to enter a specified scene. For EntryId, refer to Resources/MapEntrance.json\n" +
+ "Use 'reload' to reload the current scene and return to the initial position.\n" +
+ "Use 'reset' to reset the state of all props in the specified scene. For the current FloorId, refer to the Player table in the database.";
- public string Usage { get; } =
- "/scene ////";
+ public string Usage => "Usage: /scene prop [groupId] [propId] [state]\n\nUsage: /scene remove [entityId]\n\nUsage: /scene unlockall\n\nUsage: /scene change [entryId]\n\nUsage: /scene reload\n\nUsage: /scene reset ";
- public string LoadedGroups { get; } = "Loaded groups: {0}";
- public string PropStateChanged { get; } = "Prop: {0} state set to {1}";
- public string PropNotFound { get; } = "Prop not found!";
- public string EntityRemoved { get; } = "Entity {0} has been removed";
- public string EntityNotFound { get; } = "Entity not found!";
- public string AllPropsUnlocked { get; } = "All props have been unlocked!";
- public string SceneChanged { get; } = "Entered scene {0}";
- public string SceneReloaded { get; } = "Scene has been reloaded!";
- public string SceneReset { get; } = "The prop state in floor {0} has been reset!";
+ public string LoadedGroups => "Loaded groups: {0}";
+ public string PropStateChanged => "Prop: {0} state set to {1}";
+ public string PropNotFound => "Prop not found!";
+ public string EntityRemoved => "Entity {0} has been removed";
+ public string EntityNotFound => "Entity not found!";
+ public string AllPropsUnlocked => "All props have been unlocked!";
+ public string SceneChanged => "Entered scene {0}";
+ public string SceneReloaded => "Scene has been reloaded!";
+ public string SceneReset => "The prop state in floor {0} has been reset!";
}
///
@@ -376,13 +376,12 @@ public class SceneTextEN
///
public class MailTextEN
{
- public string Desc { get; } = "Manage player's mails";
+ public string Desc => "Manage player's mails";
- public string Usage { get; } =
- "/mail /";
+ public string Usage => "Usage: /mail send [senderName] [title] [content] [templateId] [expiryDays]";
- public string MailSent { get; } = "Mail has been sent!";
- public string MailSentWithAttachment { get; } = "Mail with attachments has been sent!";
+ public string MailSent => "Mail has been sent!";
+ public string MailSentWithAttachment => "Mail with attachments has been sent!";
}
///
@@ -390,9 +389,9 @@ public class MailTextEN
///
public class RaidTextEN
{
- public string Desc { get; } = "Manage player's temporary scene";
- public string Usage { get; } = "/raid ";
- public string Leaved { get; } = "Leaved temporary scene!";
+ public string Desc => "Manage player's temporary scene";
+ public string Usage => "Usage: /raid leave - leave temporary scene";
+ public string Leaved => "Leaved temporary scene!";
}
///
@@ -400,14 +399,14 @@ public class RaidTextEN
///
public class AccountTextEN
{
- public string Desc { get; } = "Create Account";
- public string Usage { get; } = "/account create ";
- public string InvalidUid { get; } = "Invalid UID argument!";
- public string CreateError { get; } = "An internal error occurred {0}";
- public string CreateSuccess { get; } = "New account {0} created successfully!";
- public string DuplicateAccount { get; } = "Account {0} already exists!";
- public string DuplicateUID { get; } = "UID {0} already exists!";
- public string DataError { get; } = "Failed to retrieve new account! {0}!";
+ public string Desc => "Create an account\nNote: This command is untested, use with caution!";
+ public string Usage => "Usage: /account create ";
+ public string InvalidUid => "Invalid UID argument!";
+ public string CreateError => "An internal error occurred {0}";
+ public string CreateSuccess => "New account {0} created successfully!";
+ public string DuplicateAccount => "Account {0} already exists!";
+ public string DuplicateUID => "UID {0} already exists!";
+ public string DataError => "Failed to retrieve new account! {0}!";
}
///
@@ -415,11 +414,11 @@ public class AccountTextEN
///
public class UnstuckTextEN
{
- public string Desc { get; } = "Teleport player back to default location";
- public string Usage { get; } = "/unstuck ";
- public string UnstuckSuccess { get; } = "Successfully teleported the player back to default location";
- public string UidNotExist { get; } = "The UID does not exist!";
- public string PlayerIsOnline { get; } = "The player is online!";
+ public string Desc => "Teleport player back to default location";
+ public string Usage => "Usage: /unstuck ";
+ public string UnstuckSuccess => "Successfully teleported the player back to default location";
+ public string UidNotExist => "The UID does not exist!";
+ public string PlayerIsOnline => "The player is online!";
}
///
@@ -427,9 +426,9 @@ public class UnstuckTextEN
///
public class SetlevelTextEN
{
- public string Desc { get; } = "Set player level";
- public string Usage { get; } = "/setlevel ";
- public string SetlevelSuccess { get; } = "Successfully set player level!";
+ public string Desc => "Set player level";
+ public string Usage => "Usage: /setlevel ";
+ public string SetlevelSuccess => "Successfully set player level!";
}
#endregion
diff --git a/GameServer/Game/Mission/MissionManager.cs b/GameServer/Game/Mission/MissionManager.cs
index e8ed06a0..bb9f443b 100644
--- a/GameServer/Game/Mission/MissionManager.cs
+++ b/GameServer/Game/Mission/MissionManager.cs
@@ -257,8 +257,6 @@ public class MissionManager : BasePlayerManager
Progress = (uint)(subMission.SubMissionInfo?.Progress ?? 1)
});
- var subMissionInfo = subMission?.SubMissionInfo;
-
// get next sub mission
foreach (var nextMission in mainMission.MissionInfo?.SubMissionList ?? [])
{