Changeset 446 for binary-improvements/MapRendering/Web/API/GetPlayerList.cs
- Timestamp:
- Jun 12, 2023, 3:21:34 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetPlayerList.cs
r420 r446 49 49 Player p = kvp.Value; 50 50 51 if (bViewAll || p. PlatformId.Equals (userId)) {51 if (bViewAll || p.InternalId.Equals (userId)) { 52 52 JSONObject pos = new JSONObject (); 53 53 pos.Add ("x", new JSONNumber (p.LastPosition.x)); … … 56 56 57 57 JSONObject pJson = new JSONObject (); 58 pJson.Add ("steamid", new JSONString (kvp.Key.CombinedString)); 58 pJson.Add ("steamid", new JSONString (kvp.Value.PlatformId.CombinedString)); 59 pJson.Add ("crossplatformid", new JSONString (kvp.Value.CrossPlatformId?.CombinedString ?? "")); 59 60 pJson.Add ("entityid", new JSONNumber (p.EntityID)); 60 61 pJson.Add ("ip", new JSONString (p.IP));
Note:
See TracChangeset
for help on using the changeset viewer.