Changeset 268 for binary-improvements/MapRendering/Web
- Timestamp:
- Apr 28, 2016, 1:51:17 PM (10 years ago)
- Location:
- binary-improvements/MapRendering/Web/API
- Files:
- 
      - 2 edited
 
 - 
          
  GetPlayersLocation.cs (modified) (1 diff)
- 
          
  GetPlayersOnline.cs (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      binary-improvements/MapRendering/Web/API/GetPlayersLocation.csr256 r268 45 45 pJson.Add("position", pos); 46 46 47 playersJsResult.Add (pJson); 47 pJson.Add ("totalplaytime", new JSONNumber (p.TotalPlayTime)); 48 pJson.Add ("lastonline", new JSONString (p.LastOnline.ToString ("s"))); 49 50 playersJsResult.Add (pJson); 48 51 } 49 52 } 
- 
      binary-improvements/MapRendering/Web/API/GetPlayersOnline.csr256 r268 40 40 p.Add ("score", new JSONNumber (current.Value.Score)); 41 41 42 p.Add ("totalplaytime", new JSONNumber (player != null ? player.TotalPlayTime : -1)); 43 p.Add ("lastonline", new JSONString (player != null ? player.LastOnline.ToString ("s") : string.Empty)); 44 42 45 players.Add(p); 43 46 } 
  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)
