mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +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 Disconnect = "Disconnect";
|
||||||
public const string HeartBeat = "HeartBeat";
|
public const string HeartBeat = "HeartBeat";
|
||||||
public const string ForceLogout = "ForceLogout";
|
public const string ForceLogout = "ForceLogout";
|
||||||
|
public const string Chat = "Chat";
|
||||||
|
public const string UpdateRoomMaster = "UpdateRoomMaster";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -61,7 +61,9 @@ namespace Milimoe.FunGame.Core.Library.Constant
|
|||||||
DataRequest,
|
DataRequest,
|
||||||
Disconnect,
|
Disconnect,
|
||||||
HeartBeat,
|
HeartBeat,
|
||||||
ForceLogout
|
ForceLogout,
|
||||||
|
Chat,
|
||||||
|
UpdateRoomMaster
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -260,6 +260,8 @@ namespace Milimoe.FunGame.Core.Service
|
|||||||
SocketMessageType.Disconnect => SocketSet.Disconnect,
|
SocketMessageType.Disconnect => SocketSet.Disconnect,
|
||||||
SocketMessageType.HeartBeat => SocketSet.HeartBeat,
|
SocketMessageType.HeartBeat => SocketSet.HeartBeat,
|
||||||
SocketMessageType.ForceLogout => SocketSet.ForceLogout,
|
SocketMessageType.ForceLogout => SocketSet.ForceLogout,
|
||||||
|
SocketMessageType.Chat => SocketSet.Chat,
|
||||||
|
SocketMessageType.UpdateRoomMaster => SocketSet.UpdateRoomMaster,
|
||||||
_ => SocketSet.Unknown,
|
_ => SocketSet.Unknown,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user