Click or drag to resize
PvpGameWrapper Class
View Project on GitHub
Represents a wrapper for the v2/pvp/games endpoint.
Inheritance Hierarchy
SystemObject
  GW2CSharpApiBase
    GW2CSharp.V2.Authenticated.Pvp.GamesPvpGameWrapper

Namespace: GW2CSharp.V2.Authenticated.Pvp.Games
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public class PvpGameWrapper : ApiBase

The PvpGameWrapper type exposes the following members.

Constructors
  NameDescription
Public methodPvpGameWrapper
Returns a wrapper for all pvpgame endpoint calls.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRecent
Returns all recent matches.
Public methodGetRecent(String)
Returns all recent matches.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
public void GetRecentGames()
{
    string token = "58751B23-07DA-AB49-A5DE-0DBC9BA6C79ECCDE107E-2785-4296-BAEF-64AD20580F8A";
    IEnumerable<PvpGame> games = GW2Api.V2(token).PvpGame.GetRecent();
}
See Also