Skip to content

Commit

Permalink
Merge pull request #56 from GavinPower747/development
Browse files Browse the repository at this point in the history
Release 1.5.0
  • Loading branch information
GavinPower747 authored Jun 1, 2018
2 parents 1c935e4 + ce8235a commit 99bfe82
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.4.0.{build}
version: 1.5.0.{build}
image: Visual Studio 2017
skip_tags: true

Expand All @@ -16,7 +16,7 @@ deploy:

- provider: GitHub
release: Pubg.Net-v$(appveyor_build_version)
description: 'Release of $(appveyor_build_version)'
description: ''
auth_token:
secure: 6bQdMR64k8Hsx3yyvLjkfD9K16vBFYQg85PqD5tAypkcBRe8cSsofZAgavw1QrVm
artifact: /.*\.nupkg/
Expand Down
3 changes: 3 additions & 0 deletions src/pubg-dotnet/Models/Stats/PubgParticipantStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public class PubgParticipantStats
[JsonProperty]
public int RoadKills { get; set; }

[JsonProperty]
public float SwimDistance { get; set; }

[JsonProperty]
public int TeamKills { get; set; }

Expand Down
32 changes: 32 additions & 0 deletions src/pubg-dotnet/Models/Telemetry/Events/LogArmorDestroy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using Newtonsoft.Json;
using Pubg.Net.Models.Telemetry.Enums;

namespace Pubg.Net.Models.Telemetry.Events
{
public class LogArmorDestroy : PubgTelemetryEvent
{
[JsonProperty]
public int AttackId { get; set; }

[JsonProperty]
public PubgCharacter Attacker { get; set; }

[JsonProperty]
public PubgCharacter Victim { get; set; }

[JsonProperty]
public string DamageTypeCategory { get; set; }

[JsonProperty]
public PubgDamageReason DamageReason { get; set; }

[JsonProperty]
public string DamageCauserName { get; set; }

[JsonProperty]
public PubgItem Item { get; set; }

[JsonProperty]
public float Distance { get; set; }
}
}
10 changes: 10 additions & 0 deletions src/pubg-dotnet/Models/Telemetry/Events/LogSwimEnd.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Newtonsoft.Json;

namespace Pubg.Net.Models.Telemetry.Events
{
public class LogSwimEnd : PubgTelemetryEvent
{
[JsonProperty]
public PubgCharacter Character { get; set; }
}
}
10 changes: 10 additions & 0 deletions src/pubg-dotnet/Models/Telemetry/Events/LogSwimStart.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Newtonsoft.Json;

namespace Pubg.Net.Models.Telemetry.Events
{
public class LogSwimStart : PubgTelemetryEvent
{
[JsonProperty]
public PubgCharacter Character { get; set; }
}
}
6 changes: 6 additions & 0 deletions src/pubg-dotnet/Models/Telemetry/Events/LogVehicleLeave.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ public class LogVehicleLeave : PubgTelemetryEvent

[JsonProperty]
public PubgVehicle Vehicle { get; set; }

[JsonProperty]
public float RideDistance { get; set; }

[JsonProperty]
public int SeatIndex { get; set; }
}
}
3 changes: 3 additions & 0 deletions src/pubg-dotnet/Models/Telemetry/Events/LogVehicleRide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ public class LogVehicleRide : PubgTelemetryEvent

[JsonProperty]
public PubgVehicle Vehicle { get; set; }

[JsonProperty]
public int SeatIndex { get; set; }
}
}
2 changes: 1 addition & 1 deletion src/pubg-dotnet/pubg-dotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>Sync and Async client library for communicating with the Pubg Developer API supporting .net standard 2.0</Description>
<AssemblyTitle>Pubg.Net</AssemblyTitle>
<Version>1.4.0</Version>
<Version>1.5.0</Version>
<Authors>Gavin Power</Authors>
<TargetFramework>netstandard2.0;net45</TargetFramework>
<AssemblyName>Pubg.Net</AssemblyName>
Expand Down

0 comments on commit 99bfe82

Please sign in to comment.