Click or drag to resize
PvpGame Constructor
View Project on GitHub
Initilitation of a new pvpgame object.

Namespace: GW2CSharp.V2.Authenticated.Pvp.Games
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public PvpGame(
	string id,
	int map_id,
	DateTime started,
	DateTime ended,
	string result,
	Team team,
	Profession profession,
	Score scores
)

Parameters

id
Type: SystemString
The game's UUID.
map_id
Type: SystemInt32
The map the match was played on, cross-referenced from /v2/maps.
started
Type: SystemDateTime
A timestamp of when the match started.
ended
Type: SystemDateTime
A timestamp of when the match ended.
result
Type: SystemString
The result of the match.
team
Type: GW2CSharp.V2.Authenticated.Pvp.Games.EnumsTeam
The team the player was on during the match.
profession
Type: GW2CSharp.EnumsProfession
The profession the player was playing during the match.
scores
Type: GW2CSharp.V2.Authenticated.Pvp.GamesScore
The ending score of the teams.
See Also