1234567891011121314151617181920212223 |
- namespace TBL.CSharp.Game.Server.Message;
- /// <summary>
- /// 信号地址
- /// </summary>
- public readonly struct SignalAddress
- {
- /// <summary>
- /// 服务句柄
- /// </summary>
- public readonly int ServiceHandle;
- /// <summary>
- /// 端口
- /// </summary>
- public readonly ushort Port;
- public SignalAddress(int serviceHandle, ushort port)
- {
- ServiceHandle = serviceHandle;
- Port = port;
- }
- }
|