mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Merge branch 'master' of github.com:EggLinks/DanhengServer
This commit is contained in:
@@ -26,4 +26,14 @@ public class CommandReload : ICommand
|
||||
await arg.SendMsg(I18NManager.Translate("Game.Command.Reload.ConfigReloaded",
|
||||
I18NManager.Translate("Word.Activity")));
|
||||
}
|
||||
|
||||
[CommandMethod("0 videokey")]
|
||||
public async ValueTask ReloadVideoKey(CommandArg arg)
|
||||
{
|
||||
// Reload the videokeys
|
||||
GameData.VideoKeysConfig = ResourceManager.LoadCustomFile<VideoKeysConfig>("VideoKeys", "VideoKeysConfig") ??
|
||||
new VideoKeysConfig();
|
||||
await arg.SendMsg(I18NManager.Translate("Game.Command.Reload.ConfigReloaded",
|
||||
I18NManager.Translate("Word.VideoKeys")));
|
||||
}
|
||||
}
|
||||
21
Common/Data/Custom/VideoKeysConfig.cs
Normal file
21
Common/Data/Custom/VideoKeysConfig.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace EggLink.DanhengServer.Data.Custom
|
||||
{
|
||||
public class VideoKeysConfig
|
||||
{
|
||||
public List<ActivityVideoKeyInfoList> ActivityVideoKeyData { get; set; } = new();
|
||||
public List<VideoKeyInfoList> VideoKeyInfoData { get; set; } = new();
|
||||
public int TotalCount => ActivityVideoKeyData.Count + VideoKeyInfoData.Count;
|
||||
}
|
||||
|
||||
public class ActivityVideoKeyInfoList
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public ulong VideoKey { get; set; }
|
||||
}
|
||||
|
||||
public class VideoKeyInfoList
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public ulong VideoKey { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,12 @@ public static class GameData
|
||||
|
||||
#endregion
|
||||
|
||||
#region VideoKeys
|
||||
|
||||
public static VideoKeysConfig VideoKeysConfig { get; set; } = new();
|
||||
|
||||
#endregion
|
||||
|
||||
#region Avatar
|
||||
|
||||
public static Dictionary<int, AvatarConfigExcel> AvatarConfigData { get; private set; } = [];
|
||||
|
||||
@@ -39,6 +39,7 @@ public class ResourceManager
|
||||
var t8 = Task.Run(LoadAdventureModifier);
|
||||
GameData.ActivityConfig = LoadCustomFile<ActivityConfig>("Activity", "ActivityConfig") ?? new ActivityConfig();
|
||||
GameData.BannersConfig = LoadCustomFile<BannersConfig>("Banner", "Banners") ?? new BannersConfig();
|
||||
GameData.VideoKeysConfig = LoadCustomFile<VideoKeysConfig>("VideoKeys", "VideoKeysConfig") ?? new VideoKeysConfig();
|
||||
GameData.RogueMapGenData = LoadCustomFile<Dictionary<int, List<int>>>("Rogue Map", "RogueMapGen") ?? [];
|
||||
GameData.RogueMiracleGroupData =
|
||||
LoadCustomFile<Dictionary<int, List<int>>>("Rogue Miracle Group", "RogueMiracleGroup") ?? [];
|
||||
@@ -356,6 +357,10 @@ public class ResourceManager
|
||||
Logger.Info(I18NManager.Translate("Server.ServerInfo.LoadedItems", a.ScheduleData.Count.ToString(),
|
||||
filetype));
|
||||
break;
|
||||
case VideoKeysConfig a:
|
||||
Logger.Info(I18NManager.Translate("Server.ServerInfo.LoadedItems", a.TotalCount.ToString(),
|
||||
filetype));
|
||||
break;
|
||||
default:
|
||||
Logger.Info(I18NManager.Translate("Server.ServerInfo.LoadedItem", filetype));
|
||||
break;
|
||||
|
||||
@@ -43,6 +43,7 @@ public class WordTextCHS
|
||||
public string Equipment => "光锥";
|
||||
public string Talent => "行迹";
|
||||
public string Banner => "卡池";
|
||||
public string VideoKeys => "游戏CG密钥";
|
||||
public string Activity => "活动";
|
||||
public string Buff => "祝福";
|
||||
public string Miracle => "奇物";
|
||||
|
||||
@@ -43,6 +43,7 @@ public class WordTextCHT
|
||||
public string Equipment => "光錐";
|
||||
public string Talent => "行跡";
|
||||
public string Banner => "卡池";
|
||||
public string VideoKeys => "游戲CGKey";
|
||||
public string Activity => "活動";
|
||||
public string Buff => "祝福";
|
||||
public string Miracle => "奇物";
|
||||
|
||||
@@ -43,6 +43,7 @@ public class WordTextEN
|
||||
public string Equipment => "Light Cone";
|
||||
public string Talent => "Talent";
|
||||
public string Banner => "Gacha";
|
||||
public string VideoKeys => "CG Keys";
|
||||
public string Activity => "Activity";
|
||||
public string Buff => "Blessing";
|
||||
public string Miracle => "Curio";
|
||||
|
||||
738
Config/VideoKeysConfig.json
Normal file
738
Config/VideoKeysConfig.json
Normal file
@@ -0,0 +1,738 @@
|
||||
{
|
||||
"ActivityVideoKeyData": [
|
||||
{
|
||||
"Id": 1485,
|
||||
"VideoKey": "264412104274311318"
|
||||
},
|
||||
{
|
||||
"Id": 1484,
|
||||
"VideoKey": "261085966115469253"
|
||||
},
|
||||
{
|
||||
"Id": 1483,
|
||||
"VideoKey": "267550506031217842"
|
||||
},
|
||||
{
|
||||
"Id": 1482,
|
||||
"VideoKey": "264696579748615384"
|
||||
},
|
||||
{
|
||||
"Id": 1481,
|
||||
"VideoKey": "267744943084113959"
|
||||
},
|
||||
{
|
||||
"Id": 1480,
|
||||
"VideoKey": "259999093613072592"
|
||||
},
|
||||
{
|
||||
"Id": 1479,
|
||||
"VideoKey": "254156979380702208"
|
||||
},
|
||||
{
|
||||
"Id": 1478,
|
||||
"VideoKey": "251056684533804289"
|
||||
},
|
||||
{
|
||||
"Id": 1477,
|
||||
"VideoKey": "251795259046191915"
|
||||
},
|
||||
{
|
||||
"Id": 1476,
|
||||
"VideoKey": "253055184703177522"
|
||||
},
|
||||
{
|
||||
"Id": 1475,
|
||||
"VideoKey": "257073360970062731"
|
||||
},
|
||||
{
|
||||
"Id": 1474,
|
||||
"VideoKey": "257896635701426771"
|
||||
},
|
||||
{
|
||||
"Id": 1473,
|
||||
"VideoKey": "252304264055939422"
|
||||
},
|
||||
{
|
||||
"Id": 1472,
|
||||
"VideoKey": "259558565094444503"
|
||||
},
|
||||
{
|
||||
"Id": 1471,
|
||||
"VideoKey": "253267451480726566"
|
||||
},
|
||||
{
|
||||
"Id": 1470,
|
||||
"VideoKey": "253094718299997886"
|
||||
},
|
||||
{
|
||||
"Id": 1469,
|
||||
"VideoKey": "241776966068444439"
|
||||
},
|
||||
{
|
||||
"Id": 1468,
|
||||
"VideoKey": "243439557040221346"
|
||||
},
|
||||
{
|
||||
"Id": 1467,
|
||||
"VideoKey": "243894077401789163"
|
||||
},
|
||||
{
|
||||
"Id": 1466,
|
||||
"VideoKey": "249185002378037195"
|
||||
},
|
||||
{
|
||||
"Id": 1465,
|
||||
"VideoKey": "246802633937521565"
|
||||
},
|
||||
{
|
||||
"Id": 1464,
|
||||
"VideoKey": "245212306895602657"
|
||||
}
|
||||
],
|
||||
"VideoKeyInfoData": [
|
||||
{
|
||||
"Id": 3570,
|
||||
"VideoKey": "264153642482317306"
|
||||
},
|
||||
{
|
||||
"Id": 3560,
|
||||
"VideoKey": "262665644474244560"
|
||||
},
|
||||
{
|
||||
"Id": 3550,
|
||||
"VideoKey": "269791250249600384"
|
||||
},
|
||||
{
|
||||
"Id": 3540,
|
||||
"VideoKey": "266599830853406089"
|
||||
},
|
||||
{
|
||||
"Id": 3530,
|
||||
"VideoKey": "269475336485462482"
|
||||
},
|
||||
{
|
||||
"Id": 3520,
|
||||
"VideoKey": "267380966030962379"
|
||||
},
|
||||
{
|
||||
"Id": 3510,
|
||||
"VideoKey": "264352793108070598"
|
||||
},
|
||||
{
|
||||
"Id": 3480,
|
||||
"VideoKey": "266352354960018071"
|
||||
},
|
||||
{
|
||||
"Id": 3470,
|
||||
"VideoKey": "269486154340903260"
|
||||
},
|
||||
{
|
||||
"Id": 3460,
|
||||
"VideoKey": "267041973466662002"
|
||||
},
|
||||
{
|
||||
"Id": 2970,
|
||||
"VideoKey": "259597813480471308"
|
||||
},
|
||||
{
|
||||
"Id": 2960,
|
||||
"VideoKey": "252114512356868720"
|
||||
},
|
||||
{
|
||||
"Id": 2950,
|
||||
"VideoKey": "253309400420909826"
|
||||
},
|
||||
{
|
||||
"Id": 2940,
|
||||
"VideoKey": "252671363790657049"
|
||||
},
|
||||
{
|
||||
"Id": 2930,
|
||||
"VideoKey": "257397358999252536"
|
||||
},
|
||||
{
|
||||
"Id": 2920,
|
||||
"VideoKey": "257824248136347445"
|
||||
},
|
||||
{
|
||||
"Id": 2910,
|
||||
"VideoKey": "258755463749654500"
|
||||
},
|
||||
{
|
||||
"Id": 2890,
|
||||
"VideoKey": "251909292385710492"
|
||||
},
|
||||
{
|
||||
"Id": 2880,
|
||||
"VideoKey": "251607892526440386"
|
||||
},
|
||||
{
|
||||
"Id": 2870,
|
||||
"VideoKey": "255899690483110929"
|
||||
},
|
||||
{
|
||||
"Id": 2860,
|
||||
"VideoKey": "253420882778576386"
|
||||
},
|
||||
{
|
||||
"Id": 2850,
|
||||
"VideoKey": "256290756204341238"
|
||||
},
|
||||
{
|
||||
"Id": 2840,
|
||||
"VideoKey": "248349990472928548"
|
||||
},
|
||||
{
|
||||
"Id": 2820,
|
||||
"VideoKey": "246723139208540813"
|
||||
},
|
||||
{
|
||||
"Id": 2810,
|
||||
"VideoKey": "247261081504312595"
|
||||
},
|
||||
{
|
||||
"Id": 2800,
|
||||
"VideoKey": "248938008875768462"
|
||||
},
|
||||
{
|
||||
"Id": 2780,
|
||||
"VideoKey": "244439622922577829"
|
||||
},
|
||||
{
|
||||
"Id": 2770,
|
||||
"VideoKey": "246051323254195028"
|
||||
},
|
||||
{
|
||||
"Id": 3450,
|
||||
"VideoKey": "237689986129106790"
|
||||
},
|
||||
{
|
||||
"Id": 3440,
|
||||
"VideoKey": "231040457830830785"
|
||||
},
|
||||
{
|
||||
"Id": 3430,
|
||||
"VideoKey": "232260122024246980"
|
||||
},
|
||||
{
|
||||
"Id": 3423,
|
||||
"VideoKey": "8457148526473258"
|
||||
},
|
||||
{
|
||||
"Id": 3422,
|
||||
"VideoKey": "5468123285486451"
|
||||
},
|
||||
{
|
||||
"Id": 3421,
|
||||
"VideoKey": "5462123842135478"
|
||||
},
|
||||
{
|
||||
"Id": 3420,
|
||||
"VideoKey": "228177996495904555"
|
||||
},
|
||||
{
|
||||
"Id": 3400,
|
||||
"VideoKey": "226145011383676756"
|
||||
},
|
||||
{
|
||||
"Id": 3380,
|
||||
"VideoKey": "226339597272160909"
|
||||
},
|
||||
{
|
||||
"Id": 3370,
|
||||
"VideoKey": "228876296055950321"
|
||||
},
|
||||
{
|
||||
"Id": 3360,
|
||||
"VideoKey": "222027364234029918"
|
||||
},
|
||||
{
|
||||
"Id": 3350,
|
||||
"VideoKey": "223724045306752686"
|
||||
},
|
||||
{
|
||||
"Id": 3340,
|
||||
"VideoKey": "221820607074529598"
|
||||
},
|
||||
{
|
||||
"Id": 3330,
|
||||
"VideoKey": "222765989463606432"
|
||||
},
|
||||
{
|
||||
"Id": 3320,
|
||||
"VideoKey": "221612330630189081"
|
||||
},
|
||||
{
|
||||
"Id": 3300,
|
||||
"VideoKey": "226379362923231903"
|
||||
},
|
||||
{
|
||||
"Id": 3296,
|
||||
"VideoKey": "226016975882573124"
|
||||
},
|
||||
{
|
||||
"Id": 3293,
|
||||
"VideoKey": "223781654220355157"
|
||||
},
|
||||
{
|
||||
"Id": 3292,
|
||||
"VideoKey": "225690413994247882"
|
||||
},
|
||||
{
|
||||
"Id": 3490,
|
||||
"VideoKey": "267431966711753967"
|
||||
},
|
||||
{
|
||||
"Id": 3291,
|
||||
"VideoKey": "221111467705011077"
|
||||
},
|
||||
{
|
||||
"Id": 3290,
|
||||
"VideoKey": "223730966657489665"
|
||||
},
|
||||
{
|
||||
"Id": 3280,
|
||||
"VideoKey": "2561596943881963"
|
||||
},
|
||||
{
|
||||
"Id": 3270,
|
||||
"VideoKey": "8879370645472013"
|
||||
},
|
||||
{
|
||||
"Id": 3260,
|
||||
"VideoKey": "2097603869107987"
|
||||
},
|
||||
{
|
||||
"Id": 3250,
|
||||
"VideoKey": "6314041275143045"
|
||||
},
|
||||
{
|
||||
"Id": 2440,
|
||||
"VideoKey": "90220927"
|
||||
},
|
||||
{
|
||||
"Id": 2420,
|
||||
"VideoKey": "90220927"
|
||||
},
|
||||
{
|
||||
"Id": 1222,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 2580,
|
||||
"VideoKey": "12230627"
|
||||
},
|
||||
{
|
||||
"Id": 3410,
|
||||
"VideoKey": "226629515328462310"
|
||||
},
|
||||
{
|
||||
"Id": 1221,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3140,
|
||||
"VideoKey": "20231023"
|
||||
},
|
||||
{
|
||||
"Id": 3180,
|
||||
"VideoKey": "20231025"
|
||||
},
|
||||
{
|
||||
"Id": 1190,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3130,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 3160,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 1170,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3110,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 320,
|
||||
"VideoKey": "11230119"
|
||||
},
|
||||
{
|
||||
"Id": 1240,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3230,
|
||||
"VideoKey": "1603427538481255"
|
||||
},
|
||||
{
|
||||
"Id": 420,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 3294,
|
||||
"VideoKey": "226143830717446289"
|
||||
},
|
||||
{
|
||||
"Id": 1304,
|
||||
"VideoKey": "13230706"
|
||||
},
|
||||
{
|
||||
"Id": 3050,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 411,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 3030,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 410,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 390,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 400,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 2,
|
||||
"VideoKey": "60220919"
|
||||
},
|
||||
{
|
||||
"Id": 2450,
|
||||
"VideoKey": "90220919"
|
||||
},
|
||||
{
|
||||
"Id": 100,
|
||||
"VideoKey": "12230601"
|
||||
},
|
||||
{
|
||||
"Id": 3,
|
||||
"VideoKey": "62220927"
|
||||
},
|
||||
{
|
||||
"Id": 3010,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 3500,
|
||||
"VideoKey": "266644851455229016"
|
||||
},
|
||||
{
|
||||
"Id": 3301,
|
||||
"VideoKey": "20231030"
|
||||
},
|
||||
{
|
||||
"Id": 101,
|
||||
"VideoKey": "12230601"
|
||||
},
|
||||
{
|
||||
"Id": 2790,
|
||||
"VideoKey": "246545439617325153"
|
||||
},
|
||||
{
|
||||
"Id": 999,
|
||||
"VideoKey": "258905768579283538"
|
||||
},
|
||||
{
|
||||
"Id": 4,
|
||||
"VideoKey": "62220927"
|
||||
},
|
||||
{
|
||||
"Id": 2720,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 3302,
|
||||
"VideoKey": "20231030"
|
||||
},
|
||||
{
|
||||
"Id": 1224,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 370,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 1223,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 350,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 330,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 3240,
|
||||
"VideoKey": "5468538194758078"
|
||||
},
|
||||
{
|
||||
"Id": 1,
|
||||
"VideoKey": "60220919"
|
||||
},
|
||||
{
|
||||
"Id": 2620,
|
||||
"VideoKey": "13230602"
|
||||
},
|
||||
{
|
||||
"Id": 2690,
|
||||
"VideoKey": "152627772856900393"
|
||||
},
|
||||
{
|
||||
"Id": 302,
|
||||
"VideoKey": "16230928"
|
||||
},
|
||||
{
|
||||
"Id": 2630,
|
||||
"VideoKey": "13230615"
|
||||
},
|
||||
{
|
||||
"Id": 3120,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 3150,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 1160,
|
||||
"VideoKey": "71220919"
|
||||
},
|
||||
{
|
||||
"Id": 3100,
|
||||
"VideoKey": "20231023"
|
||||
},
|
||||
{
|
||||
"Id": 5,
|
||||
"VideoKey": "62220927"
|
||||
},
|
||||
{
|
||||
"Id": 21,
|
||||
"VideoKey": "70220927"
|
||||
},
|
||||
{
|
||||
"Id": 2640,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 1180,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3170,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 8,
|
||||
"VideoKey": "70220919"
|
||||
},
|
||||
{
|
||||
"Id": 2530,
|
||||
"VideoKey": "11230119"
|
||||
},
|
||||
{
|
||||
"Id": 3295,
|
||||
"VideoKey": "228245290738848433"
|
||||
},
|
||||
{
|
||||
"Id": 310,
|
||||
"VideoKey": "71220927"
|
||||
},
|
||||
{
|
||||
"Id": 1230,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3220,
|
||||
"VideoKey": "7306477623361936"
|
||||
},
|
||||
{
|
||||
"Id": 340,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 360,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 380,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 2460,
|
||||
"VideoKey": "90220927"
|
||||
},
|
||||
{
|
||||
"Id": 2480,
|
||||
"VideoKey": "90220927"
|
||||
},
|
||||
{
|
||||
"Id": 301,
|
||||
"VideoKey": "16230928"
|
||||
},
|
||||
{
|
||||
"Id": 102,
|
||||
"VideoKey": "12230601"
|
||||
},
|
||||
{
|
||||
"Id": 2490,
|
||||
"VideoKey": "90220927"
|
||||
},
|
||||
{
|
||||
"Id": 361,
|
||||
"VideoKey": "16231009"
|
||||
},
|
||||
{
|
||||
"Id": 2550,
|
||||
"VideoKey": "12230627"
|
||||
},
|
||||
{
|
||||
"Id": 2560,
|
||||
"VideoKey": "12230525"
|
||||
},
|
||||
{
|
||||
"Id": 2570,
|
||||
"VideoKey": "12230525"
|
||||
},
|
||||
{
|
||||
"Id": 2660,
|
||||
"VideoKey": "156397899772859046"
|
||||
},
|
||||
{
|
||||
"Id": 2670,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 2680,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 3297,
|
||||
"VideoKey": "226176734478057044"
|
||||
},
|
||||
{
|
||||
"Id": 2302,
|
||||
"VideoKey": "13230706"
|
||||
},
|
||||
{
|
||||
"Id": 2700,
|
||||
"VideoKey": "152111961889945746"
|
||||
},
|
||||
{
|
||||
"Id": 2900,
|
||||
"VideoKey": "259780740592560284"
|
||||
},
|
||||
{
|
||||
"Id": 2303,
|
||||
"VideoKey": "248355998312614299"
|
||||
},
|
||||
{
|
||||
"Id": 3298,
|
||||
"VideoKey": "224840882074509280"
|
||||
},
|
||||
{
|
||||
"Id": 2701,
|
||||
"VideoKey": "154116505903655817"
|
||||
},
|
||||
{
|
||||
"Id": 2710,
|
||||
"VideoKey": "15230830"
|
||||
},
|
||||
{
|
||||
"Id": 2730,
|
||||
"VideoKey": "13230602"
|
||||
},
|
||||
{
|
||||
"Id": 2740,
|
||||
"VideoKey": "13230602"
|
||||
},
|
||||
{
|
||||
"Id": 2750,
|
||||
"VideoKey": "13230602"
|
||||
},
|
||||
{
|
||||
"Id": 2760,
|
||||
"VideoKey": "13230602"
|
||||
},
|
||||
{
|
||||
"Id": 3020,
|
||||
"VideoKey": "153981252653192903"
|
||||
},
|
||||
{
|
||||
"Id": 3040,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 3060,
|
||||
"VideoKey": "20231023"
|
||||
},
|
||||
{
|
||||
"Id": 3070,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 3080,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 3090,
|
||||
"VideoKey": "20230828"
|
||||
},
|
||||
{
|
||||
"Id": 1200,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3190,
|
||||
"VideoKey": "6934685122749340"
|
||||
},
|
||||
{
|
||||
"Id": 3390,
|
||||
"VideoKey": "221521859429205755"
|
||||
},
|
||||
{
|
||||
"Id": 7,
|
||||
"VideoKey": "62220927"
|
||||
},
|
||||
{
|
||||
"Id": 3191,
|
||||
"VideoKey": "9082263766138238"
|
||||
},
|
||||
{
|
||||
"Id": 1210,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 16,
|
||||
"VideoKey": "70220919"
|
||||
},
|
||||
{
|
||||
"Id": 3200,
|
||||
"VideoKey": "9030866044638228"
|
||||
},
|
||||
{
|
||||
"Id": 1220,
|
||||
"VideoKey": "14220714"
|
||||
},
|
||||
{
|
||||
"Id": 3210,
|
||||
"VideoKey": "6363892035972617"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,13 +1,37 @@
|
||||
using EggLink.DanhengServer.Kcp;
|
||||
using EggLink.DanhengServer.Data;
|
||||
using EggLink.DanhengServer.Data.Custom;
|
||||
using EggLink.DanhengServer.Kcp;
|
||||
using EggLink.DanhengServer.Proto;
|
||||
using System.Numerics;
|
||||
using System.Linq;
|
||||
|
||||
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Player;
|
||||
|
||||
public class PacketGetVideoVersionKeyScRsp : BasePacket
|
||||
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Player
|
||||
{
|
||||
public PacketGetVideoVersionKeyScRsp() : base(CmdIds.GetVideoVersionKeyScRsp)
|
||||
public class PacketGetVideoVersionKeyScRsp : BasePacket
|
||||
{
|
||||
// FIND A BETTER WAY
|
||||
SetData(Convert.FromBase64String(
|
||||
"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"));
|
||||
public PacketGetVideoVersionKeyScRsp() : base(CmdIds.GetVideoVersionKeyScRsp)
|
||||
{
|
||||
var proto = new GetVideoVersionKeyScRsp
|
||||
{
|
||||
ActivityVideoKeyInfoList =
|
||||
{
|
||||
GameData.VideoKeysConfig.ActivityVideoKeyData.Select(activity => new VideoKeyInfo
|
||||
{
|
||||
Id = (uint)activity.Id,
|
||||
VideoKey = (ulong)activity.VideoKey
|
||||
})
|
||||
},
|
||||
VideoKeyInfoList =
|
||||
{
|
||||
GameData.VideoKeysConfig.VideoKeyInfoData.Select(video => new VideoKeyInfo
|
||||
{
|
||||
Id = (uint)video.Id,
|
||||
VideoKey = (ulong)video.VideoKey
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user