Changeset 256 for binary-improvements/MapRendering/Web
- Timestamp:
- Feb 7, 2016, 12:47:06 PM (9 years ago)
- Location:
- binary-improvements/MapRendering/Web/API
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetPlayersLocation.cs
r253 r256 39 39 JSONObject pJson = new JSONObject (); 40 40 pJson.Add("steamid", new JSONString (sid)); 41 pJson.Add("entityid", new JSONNumber (p.EntityID)); 41 42 pJson.Add("ip", new JSONString (p.IP)); 42 43 pJson.Add("name", new JSONString (p.Name)); -
binary-improvements/MapRendering/Web/API/GetPlayersOnline.cs
r244 r256 25 25 JSONObject p = new JSONObject(); 26 26 p.Add ("steamid", new JSONString (ci.playerId)); 27 p.Add ("entityid", new JSONNumber (ci.entityId)); 27 28 p.Add ("ip", new JSONString (ci != null ? ci.ip : string.Empty)); 28 29 p.Add ("name", new JSONString (current.Value.EntityName));
Note:
See TracChangeset
for help on using the changeset viewer.