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:
@@ -0,0 +1,19 @@
|
||||
using Azure.Core;
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Chapter;
|
||||
|
||||
public class PacketChapterKnightRichManGetDataRsp : BasePacket
|
||||
{
|
||||
public PacketChapterKnightRichManGetDataRsp(uint RichManId) : base(CmdIds.ChapterKnightRichManGetDataRsp)
|
||||
{
|
||||
var proto = new ChapterKnightRichManGetDataRsp
|
||||
{
|
||||
RichManId = RichManId,
|
||||
Retcode = ChapterKnightRichManGetDataRsp.Types.Retcode.NotOpen, // set to NotOpen to prevent null reference error pop up
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user