Ejemplo n.º 1
0
 public async Task <McpResponse> GiftCatalogEntry(OAuthSession oAuthSession, GiftBox box, string message, int quantity = 1, int revision = -1, params string[] accountIds)
 => await FortniteService.GiftCatalogEntry(oAuthSession, new GiftCatalogEntry
 {
     OfferId            = OfferId,
     PurchaseQuantity   = quantity,
     Currency           = Prices[0].CurrencyType,
     CurrencySubType    = Prices[0].CurrencySubType,
     ExpectedTotalPrice = Prices[0].FinalPrice,
     ReceiverAccountIds = accountIds,
     GiftWrapTemplateId = box,
     PersonalMessage    = message
 }, revision);
Ejemplo n.º 2
0
 /// <inheritdoc cref="FortniteService.GetReceipts"/>
 public async Task <List <Receipt> > GetReceipts()
 => await FortniteService.GetReceipts(this);
Ejemplo n.º 3
0
 /// <inheritdoc cref="FortniteService.PutUserCloudstorageFile"/>
 public async Task PutUserCloudstorageFile(string uniqueFilename, byte[] fileBytes)
 => await FortniteService.PutUserCloudstorageFile(this, uniqueFilename, fileBytes);
Ejemplo n.º 4
0
 /// <inheritdoc cref="FortniteService.GetUserCloudstorageFile"/>
 public async Task <List <CloudstorageFile> > GetUserCloudstorageFile(string uniqueFilename)
 => await FortniteService.GetUserCloudstorageFile(this, uniqueFilename);
Ejemplo n.º 5
0
 /// <inheritdoc cref="FortniteService.GetUserCloudstorageFiles"/>
 public async Task <List <CloudstorageFile> > GetUserCloudstorageFiles()
 => await FortniteService.GetUserCloudstorageFiles(this);
Ejemplo n.º 6
0
 /// <inheritdoc cref="FortniteService.SetAccountPrivacy"/>
 public async Task <AccountPrivacy> SetAccountPrivacy(bool optOutOfPublicLeaderboards)
 => await FortniteService.SetAccountPrivacy(this, optOutOfPublicLeaderboards);
Ejemplo n.º 7
0
 /// <inheritdoc cref="FortniteService.GetAccountPrivacy"/>
 public async Task <AccountPrivacy> GetAccountPrivacy()
 => await FortniteService.GetAccountPrivacy(this);
Ejemplo n.º 8
0
 public async Task <McpResponse> GiftCatalogEntry(GiftCatalogEntry payload, int revision = -1)
 => await FortniteService.GiftCatalogEntry(this, payload, revision);
Ejemplo n.º 9
0
 /// <inheritdoc cref="FortniteService.MarkItemSeen"/>
 public async Task <McpResponse> MarkItemSeen(Profile profile, MarkItemSeen payload, int revision = -1)
 => await FortniteService.MarkItemSeen(this, profile, payload, revision);
Ejemplo n.º 10
0
 /// <inheritdoc cref="FortniteService.ClientQuestLogin"/>
 public async Task <McpResponse> ClientQuestLogin(Profile profile, int revision = -1)
 => await FortniteService.ClientQuestLogin(this, profile, revision);
Ejemplo n.º 11
0
 /// <inheritdoc cref="FortniteService.QueryProfile"/>
 public async Task <McpResponse> QueryProfile(Profile profile, int revision = -1)
 => await FortniteService.QueryProfile(this, profile, revision);