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.GodWar;
public class PacketGetGobackRsp : BasePacket
{
public PacketGetGobackRsp() : base(CmdIds.GetGobackRsp)
{
var proto = new GetGobackRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,20 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.GodWar;
public class PacketGetGodWarLobbyRsp : BasePacket
{
public PacketGetGodWarLobbyRsp() : base(CmdIds.GetGodWarLobbyRsp)
{
// TODO: Hardcoded
var proto = new GetGodWarLobbyRsp
{
GodWarId = 1,
LobbyId = 2
};
SetData(proto);
}
}

View File

@@ -0,0 +1,18 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.GodWar;
public class PacketGetGodWarRsp : BasePacket
{
public PacketGetGodWarRsp() : base(CmdIds.GetGodWarRsp)
{
// TODO: Implement
var proto = new GetGodWarRsp
{
};
SetData(proto);
}
}

View File

@@ -0,0 +1,99 @@
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.GodWar;
public class PacketGetGrandKeyRsp : BasePacket
{
public PacketGetGrandKeyRsp() : base(CmdIds.GetGrandKeyRsp)
{
// TODO: Hardcoded
var proto = new GetGrandKeyRsp
{
IsAll = true,
KeyList =
{
new GrandKey
{
Id = 203,
Level = 10,
ActivateLevel = 10,
BreachLevel = 1,
EndTime = 1975780800,
UnlockLevel = 50,
Skill = new GrandKeySkill
{
SkillId = 20310
}
},
new GrandKey
{
Id = 208,
Level = 1,
UnlockLevel = 65
},
new GrandKey
{
Id = 205,
Level = 10,
ActivateLevel = 10,
BreachLevel = 1,
EndTime = 1975780800,
UnlockLevel = 65,
Skill = new GrandKeySkill
{
SkillId = 20509
}
},
new GrandKey
{
Id = 202,
Level = 10,
ActivateLevel = 10,
BreachLevel = 2,
EndTime = 1975780800,
UnlockLevel = 50,
Skill = new GrandKeySkill
{
SkillId = 20209
}
},
new GrandKey
{
Id = 207,
Level = 1,
BreachLevel = 1,
UnlockLevel = 65
},
new GrandKey
{
Id = 204,
Level = 1,
BreachLevel = 1,
UnlockLevel = 65
},
new GrandKey
{
Id = 201,
Level = 10,
ActivateLevel = 10,
EndTime = 1975780800,
UnlockLevel = 50,
Skill = new GrandKeySkill
{
SkillId = 20109
}
},
new GrandKey
{
Id = 206,
Level = 1,
BreachLevel = 1,
UnlockLevel = 35
}
}
};
SetData(proto);
}
}

View File

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