mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Update docker configuration Standardize default configuration for database docker container * Update appveyor.yml * Update Version tracking concept * Update AppVeyorBeforeCompile.bat * Update appveyor.yml * Rename * Update appveyor.yml * Update AppVeyorAfterDeploy.bat
25 lines
1,002 B
C#
25 lines
1,002 B
C#
using ACE.Entity.Enum;
|
|
using ACE.Server.Network.Enum;
|
|
using ACE.Server.Network.GameMessages;
|
|
using ACE.Server.Network.GameMessages.Messages;
|
|
|
|
namespace ACE.Server.Network.Handlers
|
|
{
|
|
public static class GetServerVersionHandler
|
|
{
|
|
[GameMessage(GameMessageOpcode.GetServerVersion, SessionState.WorldConnected)]
|
|
public static void GetServerVersion(ClientMessage message, Session session)
|
|
{
|
|
// @version command is native to client. Client responds with the following (if using end of retail client/data):
|
|
|
|
// Using Turbine Chat
|
|
// Client version 00.00.11.6096.r Portal: compiled Fri Jun 12 04:16:27 2015 : RETAIL
|
|
|
|
// If client connects with admin account, it will forward version request to server and will respond with the following:
|
|
|
|
var msg = ServerBuildInfo.GetVersionInfo();
|
|
|
|
session.Network.EnqueueSend(new GameMessageSystemChat(msg, ChatMessageType.WorldBroadcast));
|
|
}
|
|
}
|
|
}
|