mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 03:29:36 +08:00
添加 SocketType: Chat, UpdateRoomMaster
This commit is contained in:
parent
930dbbacaa
commit
b9bce652f8
@ -37,6 +37,8 @@ namespace Milimoe.FunGame.Core.Library.Constant
|
||||
public const string Disconnect = "Disconnect";
|
||||
public const string HeartBeat = "HeartBeat";
|
||||
public const string ForceLogout = "ForceLogout";
|
||||
public const string Chat = "Chat";
|
||||
public const string UpdateRoomMaster = "UpdateRoomMaster";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -61,7 +61,9 @@ namespace Milimoe.FunGame.Core.Library.Constant
|
||||
DataRequest,
|
||||
Disconnect,
|
||||
HeartBeat,
|
||||
ForceLogout
|
||||
ForceLogout,
|
||||
Chat,
|
||||
UpdateRoomMaster
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -260,6 +260,8 @@ namespace Milimoe.FunGame.Core.Service
|
||||
SocketMessageType.Disconnect => SocketSet.Disconnect,
|
||||
SocketMessageType.HeartBeat => SocketSet.HeartBeat,
|
||||
SocketMessageType.ForceLogout => SocketSet.ForceLogout,
|
||||
SocketMessageType.Chat => SocketSet.Chat,
|
||||
SocketMessageType.UpdateRoomMaster => SocketSet.UpdateRoomMaster,
|
||||
_ => SocketSet.Unknown,
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user