Init enter game

This commit is contained in:
Naruse
2025-06-14 11:15:32 +08:00
commit 6a03b39f07
568 changed files with 92872 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetAchievementDataRsp : BasePacket
{
public PacketPjmsGetAchievementDataRsp() : base(CmdIds.PjmsGetAchievementDataRsp)
{
var proto = new PjmsGetAchievementDataRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,60 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetActivityPanelRsp : BasePacket
{
public PacketPjmsGetActivityPanelRsp() : base(CmdIds.PjmsGetActivityPanelRsp)
{
// TODO: Hardcoded
var proto = new PjmsGetActivityPanelRsp
{
ActivityPanelList =
{
new PjmsActivityPanel
{
ActivityId = 1001,
AdvanceBeginTime = 1712800800,
AdvanceEndTime = 1716494399,
BeginTime = 1712800800,
EndTime = 4294967295,
IsResident = true,
MinLevel = 30
},
new PjmsActivityPanel
{
ActivityId = 1002,
AdvanceBeginTime = 1718848800,
AdvanceEndTime = 1721851199,
BeginTime = 1718848800,
EndTime = 4294967295,
IsResident = true,
MinLevel = 30
},
new PjmsActivityPanel
{
ActivityId = 1003,
AdvanceBeginTime = 1718157600,
AdvanceEndTime = 1725479999,
BeginTime = 1712887200,
EndTime = 4294967295,
IsResident = true,
MinLevel = 30
},
new PjmsActivityPanel
{
ActivityId = 1004,
AdvanceBeginTime = 1726452000,
AdvanceEndTime = 1729108799,
BeginTime = 1726452000,
EndTime = 4294967295,
IsResident = true,
MinLevel = 30
}
}
};
SetData(proto);
}
}

View File

@@ -0,0 +1,85 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetChapterDataRsp : BasePacket
{
public PacketPjmsGetChapterDataRsp() : base(CmdIds.PjmsGetChapterDataRsp)
{
// TODO: Hardcoded
var proto = new PjmsGetChapterDataRsp
{
CurChapterId = 100,
IsAll = true,
ChapterList =
{
new PjmsChapter
{
ChapterId = 100,
ChapterShadowlake = new ChapterShadowLake
{
EnergyNum = 2,
MaxEnergyNum = 5
},
CurTrackSeriesId = 1022,
Exp = 530,
Formation =
new PjmsFormation
{
AvatarIdList = { 150 },
ElfId = 4224,
IsElfMode = true
},
LastTakeChapterRewardLevel = 7,
LastTakeChapterRewardMaterialNum = 1000,
Level = 7,
PlayingBgmId = 19,
TalentLevel = 7,
UnitInfo = new PjmsUnitInfo
{
AuxiliaryUnitList =
{
new PjmsAuxiliaryUnit { Exp = 170, Level = 2, UniqueId = 1000, UnitId = 301 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 101, UnitId = 301 },
new PjmsAuxiliaryUnit { Exp = 10, Level = 2, UniqueId = 1002, UnitId = 201 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1003, UnitId = 205 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1004, UnitId = 302 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1005, UnitId = 302 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1006, UnitId = 303 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1007, UnitId = 207 },
new PjmsAuxiliaryUnit { Level = 1, UniqueId = 1008, UnitId = 303 }
},
CoreUnitList =
{
new PjmsCoreUnit { Level = 1, UnitId = 1 },
new PjmsCoreUnit { Level = 2, UnitId = 2 },
new PjmsCoreUnit { Level = 1, UnitId = 3 }
},
CurUnitSetId = 1,
UnitSetList =
{
new PjmsUnitSet
{
SetId = 1,
SlotList =
{
new PjmsUnitSetSlot { Id = 2, SlotId = 10 },
new PjmsUnitSetSlot { Id = 1002, SlotId = 100 },
new PjmsUnitSetSlot { Id = 1004, SlotId = 110 },
new PjmsUnitSetSlot { Id = 1006, SlotId = 120 }
}
},
new PjmsUnitSet { SetId = 2 },
new PjmsUnitSet { SetId = 3 },
new PjmsUnitSet { SetId = 4 },
new PjmsUnitSet { SetId = 5 }
}
}
}
}
};
SetData(proto);
}
}

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetConditionDataRsp : BasePacket
{
public PacketPjmsGetConditionDataRsp() : base(CmdIds.PjmsGetConditionDataRsp)
{
var proto = new PjmsGetConditionDataRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetCurWorldRsp : BasePacket
{
public PacketPjmsGetCurWorldRsp() : base(CmdIds.PjmsGetCurWorldRsp)
{
var proto = new PjmsGetCurWorldRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetMainDataRsp : BasePacket
{
public PacketPjmsGetMainDataRsp() : base(CmdIds.PjmsGetMainDataRsp)
{
var proto = new PjmsGetMainDataRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetResidentStageDataRsp : BasePacket
{
public PacketPjmsGetResidentStageDataRsp() : base(CmdIds.PjmsGetResidentStageDataRsp)
{
var proto = new PjmsGetResidentStageDataRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,17 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
public class PacketPjmsGetStoryDataRsp : BasePacket
{
public PacketPjmsGetStoryDataRsp() : base(CmdIds.PjmsGetStoryDataRsp)
{
var proto = new PjmsGetStoryDataRsp
{
};
SetData(proto);
}
}