ExchangeWrapper Class |
Namespace: GW2CSharp.V2.Unauthenticated.Commerce.Exchange
public class ExchangeWrapper : ApiBase
The ExchangeWrapper type exposes the following members.
Name | Description | |
---|---|---|
![]() | ExchangeWrapper | Initializes a new instance of the ExchangeWrapper class |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCoin |
Returns a specific amount of coins.
|
![]() | GetGem |
Returns a specific amount of gems.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
public void GetValueOfCoinsInGems() { Coin coinFromRawApiMoney = GW2Api.V2().Exchanges.GetCoin(new Money(10000)); Coin coinFromClass = GW2Api.V2().Exchanges.GetCoin(new Money(10, 50, 2)); //2g 50s 10c } public void GetValueOfGemInCoins() { Gem gem = GW2Api.V2().Exchanges.GetGem(100); }