Changeset 277
- Timestamp:
- May 19, 2016, 5:28:45 PM (8 years ago)
- Location:
- binary-improvements/MapRendering
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/ModInfo.xml
r271 r277 5 5 <Description value="Render the game map to image map tiles as it is uncovered" /> 6 6 <Author value="Christian 'Alloc' Illy" /> 7 <Version value="1 3" />7 <Version value="14" /> 8 8 <Website value="http://7dtd.illy.bz" /> 9 9 </ModInfo> -
binary-improvements/MapRendering/Web/API/GetPlayersLocation.cs
r268 r277 47 47 pJson.Add ("totalplaytime", new JSONNumber (p.TotalPlayTime)); 48 48 pJson.Add ("lastonline", new JSONString (p.LastOnline.ToString ("s"))); 49 pJson.Add ("ping", new JSONNumber (p.IsOnline ? p.ClientInfo.ping : -1)); 49 50 50 51 playersJsResult.Add (pJson); -
binary-improvements/MapRendering/Web/API/GetPlayersOnline.cs
r268 r277 31 31 p.Add ("position", pos); 32 32 33 // Deprecated! 33 34 p.Add ("experience", new JSONNumber (player != null ? player.Experience : 0)); 35 34 36 p.Add ("level", new JSONNumber (player != null ? player.Level : -1)); 35 37 p.Add ("health", new JSONNumber (current.Value.Health)); … … 42 44 p.Add ("totalplaytime", new JSONNumber (player != null ? player.TotalPlayTime : -1)); 43 45 p.Add ("lastonline", new JSONString (player != null ? player.LastOnline.ToString ("s") : string.Empty)); 46 p.Add ("ping", new JSONNumber (ci != null ? ci.ping : -1)); 44 47 45 48 players.Add(p); -
binary-improvements/MapRendering/WebAndMapRendering.csproj
r254 r277 85 85 <Compile Include="Web\API\GetLog.cs" /> 86 86 <Compile Include="Web\API\GetWebUIUpdates.cs" /> 87 <Compile Include="Web\API\GetServerInfo.cs" /> 87 88 </ItemGroup> 88 89 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Note:
See TracChangeset
for help on using the changeset viewer.