Changeset 306 for binary-improvements/MapRendering/Web/API/GetStats.cs
- Timestamp:
- Aug 2, 2017, 6:46:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetStats.cs
r279 r306 21 21 22 22 result.Add ("players", new JSONNumber (GameManager.Instance.World.Players.Count)); 23 result.Add ("hostiles", new JSONNumber (Hostiles.Count));24 result.Add ("animals", new JSONNumber (Animals.Count));23 result.Add ("hostiles", new JSONNumber (Hostiles.GetCount ())); 24 result.Add ("animals", new JSONNumber (Animals.GetCount ())); 25 25 26 26 WriteJSON (resp, result);
Note:
See TracChangeset
for help on using the changeset viewer.