mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 14:54:38 +01:00
Init enter game
This commit is contained in:
17
GameServer/Server/Packet/Send/GodWar/PacketGetGobackRsp.cs
Normal file
17
GameServer/Server/Packet/Send/GodWar/PacketGetGobackRsp.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
18
GameServer/Server/Packet/Send/GodWar/PacketGetGodWarRsp.cs
Normal file
18
GameServer/Server/Packet/Send/GodWar/PacketGetGodWarRsp.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
99
GameServer/Server/Packet/Send/GodWar/PacketGetGrandKeyRsp.cs
Normal file
99
GameServer/Server/Packet/Send/GodWar/PacketGetGrandKeyRsp.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user