mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-12 14:34:39 +01:00
24 lines
694 B
C#
24 lines
694 B
C#
using BLHX.Server.Common.Proto;
|
|
using BLHX.Server.Common.Proto.p33;
|
|
|
|
namespace BLHX.Server.Game.Handlers {
|
|
internal class P33 {
|
|
[PacketHandler(Command.Cs33000, SaveDataAfterRun = true)]
|
|
static void ReqWorldCheckHandler(Connection connection, Packet packet) {
|
|
var req = packet.Decode<Cs33000>();
|
|
|
|
connection.Send(new Sc33001() {
|
|
IsWorldOpen = 0,
|
|
});
|
|
}
|
|
|
|
}
|
|
static class P33ConnectionNotifyExtensions {
|
|
public static void NotifyWorldData(this Connection connection) {
|
|
connection.Send(new Sc33114() {
|
|
IsWorldOpen = 1
|
|
});
|
|
}
|
|
}
|
|
}
|