mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 15:04:37 +01:00
add dorm and random stuff for fun
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
using BLHX.Server.Common.Proto.p33;
|
||||
using BLHX.Server.Common.Proto;
|
||||
using BLHX.Server.Common.Proto.p33;
|
||||
|
||||
namespace BLHX.Server.Game.Handlers
|
||||
{
|
||||
internal class 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()
|
||||
{
|
||||
static class P33ConnectionNotifyExtensions {
|
||||
public static void NotifyWorldData(this Connection connection) {
|
||||
connection.Send(new Sc33114() {
|
||||
IsWorldOpen = 1
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user