Changeset 369 for binary-improvements/MapRendering/Web/WebConnection.cs
- Timestamp:
- Nov 9, 2021, 6:28:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/WebConnection.cs
r332 r369 11 11 private readonly string conDescription; 12 12 13 public WebConnection (string _sessionId, IPAddress _endpoint, ulong _steamId) {13 public WebConnection (string _sessionId, IPAddress _endpoint, PlatformUserIdentifierAbs _userId) { 14 14 SessionID = _sessionId; 15 15 Endpoint = _endpoint; 16 SteamID = _steamId;16 UserId = _userId; 17 17 login = DateTime.Now; 18 18 lastAction = login; … … 20 20 } 21 21 22 public string SessionID { get; private set;}22 public string SessionID { get; } 23 23 24 public IPAddress Endpoint { get; private set;}24 public IPAddress Endpoint { get; } 25 25 26 public ulong SteamID { get; private set; }26 public PlatformUserIdentifierAbs UserId { get; } 27 27 28 public TimeSpan Age { 29 get { return DateTime.Now - lastAction; } 30 } 28 public TimeSpan Age => DateTime.Now - lastAction; 31 29 32 30 public static bool CanViewAllPlayers (int _permissionLevel) { … … 54 52 } 55 53 56 public override void SendLog (string _ msg, string _trace, LogType _type) {54 public override void SendLog (string _formattedMsg, string _plainMsg, string _trace, LogType _type, DateTime _timestamp, long _uptime) { 57 55 // Do nothing, handled by LogBuffer 58 56 }
Note:
See TracChangeset
for help on using the changeset viewer.