Changeset 444 for TFP-WebServer/WebServer/src/WebAPI/APIs/WorldState
- Timestamp:
- Jun 10, 2023, 6:33:56 PM (17 months ago)
- Location:
- TFP-WebServer/WebServer/src/WebAPI/APIs/WorldState
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TFP-WebServer/WebServer/src/WebAPI/APIs/WorldState/Animal.cs
r434 r444 35 35 36 36 writer.WriteRaw (jsonKeyPosition); 37 JsonCommons.Write PositionObject(ref writer, position);37 JsonCommons.WriteVector3I (ref writer, position); 38 38 39 39 writer.WriteEndObject (); -
TFP-WebServer/WebServer/src/WebAPI/APIs/WorldState/Hostile.cs
r434 r444 35 35 36 36 writer.WriteRaw (jsonKeyPosition); 37 JsonCommons.Write PositionObject(ref writer, position);37 JsonCommons.WriteVector3I (ref writer, position); 38 38 39 39 writer.WriteEndObject (); -
TFP-WebServer/WebServer/src/WebAPI/APIs/WorldState/Player.cs
r434 r444 152 152 _writer.WriteRaw (jsonPositionKey); 153 153 if (online) { 154 JsonCommons.Write PositionObject(ref _writer, entity.GetPosition ());154 JsonCommons.WriteVector3 (ref _writer, entity.GetPosition ()); 155 155 // TODO: Possibly show last position? 156 156 } else {
Note:
See TracChangeset
for help on using the changeset viewer.