add dorm and random stuff for fun

This commit is contained in:
raphaeIl
2024-04-07 04:37:09 -04:00
parent 92907806b2
commit 00060fb310
6 changed files with 97 additions and 37 deletions

View File

@@ -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
});
}