Changeset 277 for binary-improvements/MapRendering/Web
- Timestamp:
- May 19, 2016, 5:28:45 PM (9 years ago)
- Location:
- binary-improvements/MapRendering/Web/API
- Files:
- 
      - 2 edited
 
 - 
          
  GetPlayersLocation.cs (modified) (1 diff)
- 
          
  GetPlayersOnline.cs (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      binary-improvements/MapRendering/Web/API/GetPlayersLocation.csr268 r277 47 47 pJson.Add ("totalplaytime", new JSONNumber (p.TotalPlayTime)); 48 48 pJson.Add ("lastonline", new JSONString (p.LastOnline.ToString ("s"))); 49 pJson.Add ("ping", new JSONNumber (p.IsOnline ? p.ClientInfo.ping : -1)); 49 50 50 51 playersJsResult.Add (pJson); 
- 
      binary-improvements/MapRendering/Web/API/GetPlayersOnline.csr268 r277 31 31 p.Add ("position", pos); 32 32 33 // Deprecated! 33 34 p.Add ("experience", new JSONNumber (player != null ? player.Experience : 0)); 35 34 36 p.Add ("level", new JSONNumber (player != null ? player.Level : -1)); 35 37 p.Add ("health", new JSONNumber (current.Value.Health)); … … 42 44 p.Add ("totalplaytime", new JSONNumber (player != null ? player.TotalPlayTime : -1)); 43 45 p.Add ("lastonline", new JSONString (player != null ? player.LastOnline.ToString ("s") : string.Empty)); 46 p.Add ("ping", new JSONNumber (ci != null ? ci.ping : -1)); 44 47 45 48 players.Add(p); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
