async-playfab-web-sdk 1.192.250526-2 → 1.192.250526-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Addon.d.ts +31 -31
- package/dist/Addon.js +2 -2
- package/dist/Admin.d.ts +118 -118
- package/dist/Admin.js +2 -2
- package/dist/Authentication.d.ts +5 -5
- package/dist/Authentication.js +2 -2
- package/dist/Client.d.ts +174 -174
- package/dist/Client.js +2 -2
- package/dist/CloudScript.d.ts +16 -16
- package/dist/CloudScript.js +2 -2
- package/dist/Data.d.ts +8 -8
- package/dist/Data.js +2 -2
- package/dist/Economy.d.ts +47 -47
- package/dist/Economy.js +2 -2
- package/dist/Events.d.ts +13 -13
- package/dist/Events.js +2 -2
- package/dist/Experimentation.d.ts +14 -14
- package/dist/Experimentation.js +2 -2
- package/dist/Groups.d.ts +26 -26
- package/dist/Groups.js +2 -2
- package/dist/Insights.d.ts +7 -7
- package/dist/Insights.js +2 -2
- package/dist/Localization.d.ts +2 -2
- package/dist/Localization.js +2 -2
- package/dist/Multiplayer.d.ts +88 -88
- package/dist/Multiplayer.js +2 -2
- package/dist/{PlayFabCommon-BUv4zqXf.d.ts → PlayFabCommon-Dnp_xHg5.d.ts} +6 -10
- package/dist/Profiles.d.ts +10 -10
- package/dist/Profiles.js +2 -2
- package/dist/Progression.d.ts +24 -24
- package/dist/Progression.js +2 -2
- package/dist/Server.d.ts +150 -150
- package/dist/Server.js +2 -2
- package/dist/{chunk-FPCXHDA7.js → chunk-2IBLMNAQ.js} +236 -236
- package/dist/chunk-2IBLMNAQ.js.map +1 -0
- package/dist/{chunk-5AAYYQU7.js → chunk-3TRLETD6.js} +32 -32
- package/dist/chunk-3TRLETD6.js.map +1 -0
- package/dist/{chunk-2NRPVFSH.js → chunk-4LT3OUQD.js} +176 -176
- package/dist/chunk-4LT3OUQD.js.map +1 -0
- package/dist/{chunk-CY3H2GBI.js → chunk-6TH6EJYH.js} +37 -78
- package/dist/chunk-6TH6EJYH.js.map +1 -0
- package/dist/{chunk-ZY56RXKC.js → chunk-7UQYMDJQ.js} +62 -62
- package/dist/chunk-7UQYMDJQ.js.map +1 -0
- package/dist/{chunk-D53KEX67.js → chunk-CLMINF57.js} +4 -4
- package/dist/chunk-CLMINF57.js.map +1 -0
- package/dist/{chunk-EY77H23H.js → chunk-F5NRBD4O.js} +48 -48
- package/dist/chunk-F5NRBD4O.js.map +1 -0
- package/dist/{chunk-QCCQJDCR.js → chunk-FEEE3PRD.js} +348 -348
- package/dist/chunk-FEEE3PRD.js.map +1 -0
- package/dist/{chunk-JRE75IDS.js → chunk-HKZJ4H4O.js} +26 -26
- package/dist/chunk-HKZJ4H4O.js.map +1 -0
- package/dist/{chunk-VTCQRNBL.js → chunk-NJQCK4TL.js} +16 -16
- package/dist/chunk-NJQCK4TL.js.map +1 -0
- package/dist/{chunk-BZECCU2H.js → chunk-ONCBQLGS.js} +300 -300
- package/dist/chunk-ONCBQLGS.js.map +1 -0
- package/dist/{chunk-RODJAJP2.js → chunk-PXPOK2QU.js} +14 -14
- package/dist/chunk-PXPOK2QU.js.map +1 -0
- package/dist/{chunk-7VP4SIOQ.js → chunk-Q22JHX4G.js} +20 -20
- package/dist/chunk-Q22JHX4G.js.map +1 -0
- package/dist/{chunk-V56QSAWL.js → chunk-RJPMKD7P.js} +10 -10
- package/dist/chunk-RJPMKD7P.js.map +1 -0
- package/dist/{chunk-42AWSTMK.js → chunk-WROXLFDZ.js} +28 -28
- package/dist/chunk-WROXLFDZ.js.map +1 -0
- package/dist/{chunk-CDBIRT6V.js → chunk-XAI5IWL4.js} +52 -52
- package/dist/chunk-XAI5IWL4.js.map +1 -0
- package/dist/{chunk-RHQFG2EP.js → chunk-XM26BUTO.js} +94 -94
- package/dist/chunk-XM26BUTO.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -17
- package/package.json +1 -1
- package/dist/chunk-2NRPVFSH.js.map +0 -1
- package/dist/chunk-42AWSTMK.js.map +0 -1
- package/dist/chunk-5AAYYQU7.js.map +0 -1
- package/dist/chunk-7VP4SIOQ.js.map +0 -1
- package/dist/chunk-BZECCU2H.js.map +0 -1
- package/dist/chunk-CDBIRT6V.js.map +0 -1
- package/dist/chunk-CY3H2GBI.js.map +0 -1
- package/dist/chunk-D53KEX67.js.map +0 -1
- package/dist/chunk-EY77H23H.js.map +0 -1
- package/dist/chunk-FPCXHDA7.js.map +0 -1
- package/dist/chunk-JRE75IDS.js.map +0 -1
- package/dist/chunk-QCCQJDCR.js.map +0 -1
- package/dist/chunk-RHQFG2EP.js.map +0 -1
- package/dist/chunk-RODJAJP2.js.map +0 -1
- package/dist/chunk-V56QSAWL.js.map +0 -1
- package/dist/chunk-VTCQRNBL.js.map +0 -1
- package/dist/chunk-ZY56RXKC.js.map +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
PlayFabCommon
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-6TH6EJYH.js";
|
4
4
|
|
5
5
|
// src/apis/PlayFabServerApi.ts
|
6
6
|
var PlayFabServerApi = class extends PlayFabCommon {
|
@@ -9,16 +9,16 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
9
9
|
* version 2._ Increments the character's balance of the specified virtual currency by the stated amount
|
10
10
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/addcharactervirtualcurrency
|
11
11
|
*/
|
12
|
-
AddCharacterVirtualCurrency(request,
|
13
|
-
return this.ExecuteRequestWrapper("/Server/AddCharacterVirtualCurrency", request, "X-SecretKey",
|
12
|
+
AddCharacterVirtualCurrency(request, extraHeaders) {
|
13
|
+
return this.ExecuteRequestWrapper("/Server/AddCharacterVirtualCurrency", request, "X-SecretKey", extraHeaders);
|
14
14
|
}
|
15
15
|
/**
|
16
16
|
* Adds the Friend user to the friendlist of the user with PlayFabId. At least one of
|
17
17
|
* FriendPlayFabId,FriendUsername,FriendEmail, or FriendTitleDisplayName should be initialized.
|
18
18
|
* https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/addfriend
|
19
19
|
*/
|
20
|
-
AddFriend(request,
|
21
|
-
return this.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey",
|
20
|
+
AddFriend(request, extraHeaders) {
|
21
|
+
return this.ExecuteRequestWrapper("/Server/AddFriend", request, "X-SecretKey", extraHeaders);
|
22
22
|
}
|
23
23
|
/**
|
24
24
|
* Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab
|
@@ -26,15 +26,15 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
26
26
|
* authentication credentials, as the intent is that it is easily accessible by other players.
|
27
27
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/addgenericid
|
28
28
|
*/
|
29
|
-
AddGenericID(request,
|
30
|
-
return this.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey",
|
29
|
+
AddGenericID(request, extraHeaders) {
|
30
|
+
return this.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", extraHeaders);
|
31
31
|
}
|
32
32
|
/**
|
33
33
|
* Adds a given tag to a player profile. The tag's namespace is automatically generated based on the source of the tag.
|
34
34
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/addplayertag
|
35
35
|
*/
|
36
|
-
AddPlayerTag(request,
|
37
|
-
return this.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey",
|
36
|
+
AddPlayerTag(request, extraHeaders) {
|
37
|
+
return this.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", extraHeaders);
|
38
38
|
}
|
39
39
|
/**
|
40
40
|
* Adds users to the set of those able to update both the shared data, as well as the set of users in the group. Only users
|
@@ -43,37 +43,37 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
43
43
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
44
44
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/addsharedgroupmembers
|
45
45
|
*/
|
46
|
-
AddSharedGroupMembers(request,
|
47
|
-
return this.ExecuteRequestWrapper("/Server/AddSharedGroupMembers", request, "X-SecretKey",
|
46
|
+
AddSharedGroupMembers(request, extraHeaders) {
|
47
|
+
return this.ExecuteRequestWrapper("/Server/AddSharedGroupMembers", request, "X-SecretKey", extraHeaders);
|
48
48
|
}
|
49
49
|
/**
|
50
50
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
51
51
|
* version 2._ Increments the user's balance of the specified virtual currency by the stated amount
|
52
52
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/adduservirtualcurrency
|
53
53
|
*/
|
54
|
-
AddUserVirtualCurrency(request,
|
55
|
-
return this.ExecuteRequestWrapper("/Server/AddUserVirtualCurrency", request, "X-SecretKey",
|
54
|
+
AddUserVirtualCurrency(request, extraHeaders) {
|
55
|
+
return this.ExecuteRequestWrapper("/Server/AddUserVirtualCurrency", request, "X-SecretKey", extraHeaders);
|
56
56
|
}
|
57
57
|
/**
|
58
58
|
* Validated a client's session ticket, and if successful, returns details for that user
|
59
59
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/authenticatesessionticket
|
60
60
|
*/
|
61
|
-
AuthenticateSessionTicket(request,
|
62
|
-
return this.ExecuteRequestWrapper("/Server/AuthenticateSessionTicket", request, "X-SecretKey",
|
61
|
+
AuthenticateSessionTicket(request, extraHeaders) {
|
62
|
+
return this.ExecuteRequestWrapper("/Server/AuthenticateSessionTicket", request, "X-SecretKey", extraHeaders);
|
63
63
|
}
|
64
64
|
/**
|
65
65
|
* Awards the specified users the specified Steam achievements
|
66
66
|
* https://docs.microsoft.com/rest/api/playfab/server/platform-specific-methods/awardsteamachievement
|
67
67
|
*/
|
68
|
-
AwardSteamAchievement(request,
|
69
|
-
return this.ExecuteRequestWrapper("/Server/AwardSteamAchievement", request, "X-SecretKey",
|
68
|
+
AwardSteamAchievement(request, extraHeaders) {
|
69
|
+
return this.ExecuteRequestWrapper("/Server/AwardSteamAchievement", request, "X-SecretKey", extraHeaders);
|
70
70
|
}
|
71
71
|
/**
|
72
72
|
* Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
|
73
73
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/banusers
|
74
74
|
*/
|
75
|
-
BanUsers(request,
|
76
|
-
return this.ExecuteRequestWrapper("/Server/BanUsers", request, "X-SecretKey",
|
75
|
+
BanUsers(request, extraHeaders) {
|
76
|
+
return this.ExecuteRequestWrapper("/Server/BanUsers", request, "X-SecretKey", extraHeaders);
|
77
77
|
}
|
78
78
|
/**
|
79
79
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -81,8 +81,8 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
81
81
|
* inventory.
|
82
82
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/consumeitem
|
83
83
|
*/
|
84
|
-
ConsumeItem(request,
|
85
|
-
return this.ExecuteRequestWrapper("/Server/ConsumeItem", request, "X-SecretKey",
|
84
|
+
ConsumeItem(request, extraHeaders) {
|
85
|
+
return this.ExecuteRequestWrapper("/Server/ConsumeItem", request, "X-SecretKey", extraHeaders);
|
86
86
|
}
|
87
87
|
/**
|
88
88
|
* Requests the creation of a shared group object, containing key/value pairs which may be updated by all members of the
|
@@ -91,36 +91,36 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
91
91
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
92
92
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/createsharedgroup
|
93
93
|
*/
|
94
|
-
CreateSharedGroup(request,
|
95
|
-
return this.ExecuteRequestWrapper("/Server/CreateSharedGroup", request, "X-SecretKey",
|
94
|
+
CreateSharedGroup(request, extraHeaders) {
|
95
|
+
return this.ExecuteRequestWrapper("/Server/CreateSharedGroup", request, "X-SecretKey", extraHeaders);
|
96
96
|
}
|
97
97
|
/**
|
98
98
|
* Deletes the specific character ID from the specified user.
|
99
99
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/deletecharacterfromuser
|
100
100
|
*/
|
101
|
-
DeleteCharacterFromUser(request,
|
102
|
-
return this.ExecuteRequestWrapper("/Server/DeleteCharacterFromUser", request, "X-SecretKey",
|
101
|
+
DeleteCharacterFromUser(request, extraHeaders) {
|
102
|
+
return this.ExecuteRequestWrapper("/Server/DeleteCharacterFromUser", request, "X-SecretKey", extraHeaders);
|
103
103
|
}
|
104
104
|
/**
|
105
105
|
* Removes a user's player account from a title and deletes all associated data
|
106
106
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/deleteplayer
|
107
107
|
*/
|
108
|
-
DeletePlayer(request,
|
109
|
-
return this.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey",
|
108
|
+
DeletePlayer(request, extraHeaders) {
|
109
|
+
return this.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", extraHeaders);
|
110
110
|
}
|
111
111
|
/**
|
112
112
|
* Deletes title-specific custom properties for a player
|
113
113
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/deleteplayercustomproperties
|
114
114
|
*/
|
115
|
-
DeletePlayerCustomProperties(request,
|
116
|
-
return this.ExecuteRequestWrapper("/Server/DeletePlayerCustomProperties", request, "X-SecretKey",
|
115
|
+
DeletePlayerCustomProperties(request, extraHeaders) {
|
116
|
+
return this.ExecuteRequestWrapper("/Server/DeletePlayerCustomProperties", request, "X-SecretKey", extraHeaders);
|
117
117
|
}
|
118
118
|
/**
|
119
119
|
* Deletes push notification template for title
|
120
120
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/deletepushnotificationtemplate
|
121
121
|
*/
|
122
|
-
DeletePushNotificationTemplate(request,
|
123
|
-
return this.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey",
|
122
|
+
DeletePushNotificationTemplate(request, extraHeaders) {
|
123
|
+
return this.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", extraHeaders);
|
124
124
|
}
|
125
125
|
/**
|
126
126
|
* Deletes a shared group, freeing up the shared group ID to be reused for a new group. Shared Groups are designed for
|
@@ -128,8 +128,8 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
128
128
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
129
129
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/deletesharedgroup
|
130
130
|
*/
|
131
|
-
DeleteSharedGroup(request,
|
132
|
-
return this.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey",
|
131
|
+
DeleteSharedGroup(request, extraHeaders) {
|
132
|
+
return this.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", extraHeaders);
|
133
133
|
}
|
134
134
|
/**
|
135
135
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -138,83 +138,83 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
138
138
|
* UnlockContainer.
|
139
139
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/evaluaterandomresulttable
|
140
140
|
*/
|
141
|
-
EvaluateRandomResultTable(request,
|
142
|
-
return this.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey",
|
141
|
+
EvaluateRandomResultTable(request, extraHeaders) {
|
142
|
+
return this.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", extraHeaders);
|
143
143
|
}
|
144
144
|
/**
|
145
145
|
* Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. The
|
146
146
|
* PlayFab ID is the entity ID of the player's master_player_account entity.
|
147
147
|
* https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript
|
148
148
|
*/
|
149
|
-
ExecuteCloudScript(request,
|
150
|
-
return this.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey",
|
149
|
+
ExecuteCloudScript(request, extraHeaders) {
|
150
|
+
return this.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", extraHeaders);
|
151
151
|
}
|
152
152
|
/**
|
153
153
|
* Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as
|
154
154
|
* GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change.
|
155
155
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments
|
156
156
|
*/
|
157
|
-
GetAllSegments(request,
|
158
|
-
return this.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey",
|
157
|
+
GetAllSegments(request, extraHeaders) {
|
158
|
+
return this.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", extraHeaders);
|
159
159
|
}
|
160
160
|
/**
|
161
161
|
* Lists all of the characters that belong to a specific user. CharacterIds are not globally unique; characterId must be
|
162
162
|
* evaluated with the parent PlayFabId to guarantee uniqueness.
|
163
163
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/getalluserscharacters
|
164
164
|
*/
|
165
|
-
GetAllUsersCharacters(request,
|
166
|
-
return this.ExecuteRequestWrapper("/Server/GetAllUsersCharacters", request, "X-SecretKey",
|
165
|
+
GetAllUsersCharacters(request, extraHeaders) {
|
166
|
+
return this.ExecuteRequestWrapper("/Server/GetAllUsersCharacters", request, "X-SecretKey", extraHeaders);
|
167
167
|
}
|
168
168
|
/**
|
169
169
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
170
170
|
* version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
|
171
171
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getcatalogitems
|
172
172
|
*/
|
173
|
-
GetCatalogItems(request,
|
174
|
-
return this.ExecuteRequestWrapper("/Server/GetCatalogItems", request, "X-SecretKey",
|
173
|
+
GetCatalogItems(request, extraHeaders) {
|
174
|
+
return this.ExecuteRequestWrapper("/Server/GetCatalogItems", request, "X-SecretKey", extraHeaders);
|
175
175
|
}
|
176
176
|
/**
|
177
177
|
* Retrieves the title-specific custom data for the user which is readable and writable by the client
|
178
178
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterdata
|
179
179
|
*/
|
180
|
-
GetCharacterData(request,
|
181
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterData", request, "X-SecretKey",
|
180
|
+
GetCharacterData(request, extraHeaders) {
|
181
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterData", request, "X-SecretKey", extraHeaders);
|
182
182
|
}
|
183
183
|
/**
|
184
184
|
* Retrieves the title-specific custom data for the user's character which cannot be accessed by the client
|
185
185
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterinternaldata
|
186
186
|
*/
|
187
|
-
GetCharacterInternalData(request,
|
188
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterInternalData", request, "X-SecretKey",
|
187
|
+
GetCharacterInternalData(request, extraHeaders) {
|
188
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterInternalData", request, "X-SecretKey", extraHeaders);
|
189
189
|
}
|
190
190
|
/**
|
191
191
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
192
192
|
* version 2._ Retrieves the specified character's current inventory of virtual goods
|
193
193
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getcharacterinventory
|
194
194
|
*/
|
195
|
-
GetCharacterInventory(request,
|
196
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterInventory", request, "X-SecretKey",
|
195
|
+
GetCharacterInventory(request, extraHeaders) {
|
196
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterInventory", request, "X-SecretKey", extraHeaders);
|
197
197
|
}
|
198
198
|
/**
|
199
199
|
* Retrieves a list of ranked characters for the given statistic, starting from the indicated point in the leaderboard
|
200
200
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterleaderboard
|
201
201
|
*/
|
202
|
-
GetCharacterLeaderboard(request,
|
203
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterLeaderboard", request, "X-SecretKey",
|
202
|
+
GetCharacterLeaderboard(request, extraHeaders) {
|
203
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterLeaderboard", request, "X-SecretKey", extraHeaders);
|
204
204
|
}
|
205
205
|
/**
|
206
206
|
* Retrieves the title-specific custom data for the user's character which can only be read by the client
|
207
207
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/getcharacterreadonlydata
|
208
208
|
*/
|
209
|
-
GetCharacterReadOnlyData(request,
|
210
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterReadOnlyData", request, "X-SecretKey",
|
209
|
+
GetCharacterReadOnlyData(request, extraHeaders) {
|
210
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterReadOnlyData", request, "X-SecretKey", extraHeaders);
|
211
211
|
}
|
212
212
|
/**
|
213
213
|
* Retrieves the details of all title-specific statistics for the specific character
|
214
214
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/getcharacterstatistics
|
215
215
|
*/
|
216
|
-
GetCharacterStatistics(request,
|
217
|
-
return this.ExecuteRequestWrapper("/Server/GetCharacterStatistics", request, "X-SecretKey",
|
216
|
+
GetCharacterStatistics(request, extraHeaders) {
|
217
|
+
return this.ExecuteRequestWrapper("/Server/GetCharacterStatistics", request, "X-SecretKey", extraHeaders);
|
218
218
|
}
|
219
219
|
/**
|
220
220
|
* This API retrieves a pre-signed URL for accessing a content file for the title. A subsequent HTTP GET to the returned
|
@@ -225,81 +225,81 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
225
225
|
* please be aware that the Content service is specifically PlayFab's CDN offering, for which standard CDN rates apply.
|
226
226
|
* https://docs.microsoft.com/rest/api/playfab/server/content/getcontentdownloadurl
|
227
227
|
*/
|
228
|
-
GetContentDownloadUrl(request,
|
229
|
-
return this.ExecuteRequestWrapper("/Server/GetContentDownloadUrl", request, "X-SecretKey",
|
228
|
+
GetContentDownloadUrl(request, extraHeaders) {
|
229
|
+
return this.ExecuteRequestWrapper("/Server/GetContentDownloadUrl", request, "X-SecretKey", extraHeaders);
|
230
230
|
}
|
231
231
|
/**
|
232
232
|
* Retrieves a list of ranked friends of the given player for the given statistic, starting from the indicated point in the
|
233
233
|
* leaderboard
|
234
234
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getfriendleaderboard
|
235
235
|
*/
|
236
|
-
GetFriendLeaderboard(request,
|
237
|
-
return this.ExecuteRequestWrapper("/Server/GetFriendLeaderboard", request, "X-SecretKey",
|
236
|
+
GetFriendLeaderboard(request, extraHeaders) {
|
237
|
+
return this.ExecuteRequestWrapper("/Server/GetFriendLeaderboard", request, "X-SecretKey", extraHeaders);
|
238
238
|
}
|
239
239
|
/**
|
240
240
|
* Retrieves the current friends for the user with PlayFabId, constrained to users who have PlayFab accounts. Friends from
|
241
241
|
* linked accounts (Facebook, Steam) are also included. You may optionally exclude some linked services' friends.
|
242
242
|
* https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/getfriendslist
|
243
243
|
*/
|
244
|
-
GetFriendsList(request,
|
245
|
-
return this.ExecuteRequestWrapper("/Server/GetFriendsList", request, "X-SecretKey",
|
244
|
+
GetFriendsList(request, extraHeaders) {
|
245
|
+
return this.ExecuteRequestWrapper("/Server/GetFriendsList", request, "X-SecretKey", extraHeaders);
|
246
246
|
}
|
247
247
|
/**
|
248
248
|
* Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard
|
249
249
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboard
|
250
250
|
*/
|
251
|
-
GetLeaderboard(request,
|
252
|
-
return this.ExecuteRequestWrapper("/Server/GetLeaderboard", request, "X-SecretKey",
|
251
|
+
GetLeaderboard(request, extraHeaders) {
|
252
|
+
return this.ExecuteRequestWrapper("/Server/GetLeaderboard", request, "X-SecretKey", extraHeaders);
|
253
253
|
}
|
254
254
|
/**
|
255
255
|
* Retrieves a list of ranked characters for the given statistic, centered on the requested user
|
256
256
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardaroundcharacter
|
257
257
|
*/
|
258
|
-
GetLeaderboardAroundCharacter(request,
|
259
|
-
return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey",
|
258
|
+
GetLeaderboardAroundCharacter(request, extraHeaders) {
|
259
|
+
return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundCharacter", request, "X-SecretKey", extraHeaders);
|
260
260
|
}
|
261
261
|
/**
|
262
262
|
* Retrieves a list of ranked users for the given statistic, centered on the currently signed-in user
|
263
263
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getleaderboardarounduser
|
264
264
|
*/
|
265
|
-
GetLeaderboardAroundUser(request,
|
266
|
-
return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundUser", request, "X-SecretKey",
|
265
|
+
GetLeaderboardAroundUser(request, extraHeaders) {
|
266
|
+
return this.ExecuteRequestWrapper("/Server/GetLeaderboardAroundUser", request, "X-SecretKey", extraHeaders);
|
267
267
|
}
|
268
268
|
/**
|
269
269
|
* Retrieves a list of all of the user's characters for the given statistic.
|
270
270
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/getleaderboardforusercharacters
|
271
271
|
*/
|
272
|
-
GetLeaderboardForUserCharacters(request,
|
273
|
-
return this.ExecuteRequestWrapper("/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey",
|
272
|
+
GetLeaderboardForUserCharacters(request, extraHeaders) {
|
273
|
+
return this.ExecuteRequestWrapper("/Server/GetLeaderboardForUserCharacters", request, "X-SecretKey", extraHeaders);
|
274
274
|
}
|
275
275
|
/**
|
276
276
|
* Returns whatever info is requested in the response for the user. Note that PII (like email address, facebook id) may be
|
277
277
|
* returned. All parameters default to false.
|
278
278
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercombinedinfo
|
279
279
|
*/
|
280
|
-
GetPlayerCombinedInfo(request,
|
281
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey",
|
280
|
+
GetPlayerCombinedInfo(request, extraHeaders) {
|
281
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", extraHeaders);
|
282
282
|
}
|
283
283
|
/**
|
284
284
|
* Retrieves a title-specific custom property value for a player.
|
285
285
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayercustomproperty
|
286
286
|
*/
|
287
|
-
GetPlayerCustomProperty(request,
|
288
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerCustomProperty", request, "X-SecretKey",
|
287
|
+
GetPlayerCustomProperty(request, extraHeaders) {
|
288
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerCustomProperty", request, "X-SecretKey", extraHeaders);
|
289
289
|
}
|
290
290
|
/**
|
291
291
|
* Retrieves the player's profile
|
292
292
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayerprofile
|
293
293
|
*/
|
294
|
-
GetPlayerProfile(request,
|
295
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey",
|
294
|
+
GetPlayerProfile(request, extraHeaders) {
|
295
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", extraHeaders);
|
296
296
|
}
|
297
297
|
/**
|
298
298
|
* List all segments that a player currently belongs to at this moment in time.
|
299
299
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments
|
300
300
|
*/
|
301
|
-
GetPlayerSegments(request,
|
302
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey",
|
301
|
+
GetPlayerSegments(request, extraHeaders) {
|
302
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", extraHeaders);
|
303
303
|
}
|
304
304
|
/**
|
305
305
|
* Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match
|
@@ -309,50 +309,50 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
309
309
|
* called 30 times in one minute. You will be returned an error if you exceed this threshold.
|
310
310
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment
|
311
311
|
*/
|
312
|
-
GetPlayersInSegment(request,
|
313
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey",
|
312
|
+
GetPlayersInSegment(request, extraHeaders) {
|
313
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", extraHeaders);
|
314
314
|
}
|
315
315
|
/**
|
316
316
|
* Retrieves the current version and values for the indicated statistics, for the local player.
|
317
317
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics
|
318
318
|
*/
|
319
|
-
GetPlayerStatistics(request,
|
320
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey",
|
319
|
+
GetPlayerStatistics(request, extraHeaders) {
|
320
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", extraHeaders);
|
321
321
|
}
|
322
322
|
/**
|
323
323
|
* Retrieves the information on the available versions of the specified statistic.
|
324
324
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatisticversions
|
325
325
|
*/
|
326
|
-
GetPlayerStatisticVersions(request,
|
327
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerStatisticVersions", request, "X-SecretKey",
|
326
|
+
GetPlayerStatisticVersions(request, extraHeaders) {
|
327
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerStatisticVersions", request, "X-SecretKey", extraHeaders);
|
328
328
|
}
|
329
329
|
/**
|
330
330
|
* Get all tags with a given Namespace (optional) from a player profile.
|
331
331
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayertags
|
332
332
|
*/
|
333
|
-
GetPlayerTags(request,
|
334
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey",
|
333
|
+
GetPlayerTags(request, extraHeaders) {
|
334
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", extraHeaders);
|
335
335
|
}
|
336
336
|
/**
|
337
337
|
* Retrieves the unique PlayFab identifiers for the given set of Battle.net account identifiers.
|
338
338
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrombattlenetaccountids
|
339
339
|
*/
|
340
|
-
GetPlayFabIDsFromBattleNetAccountIds(request,
|
341
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromBattleNetAccountIds", request, "X-SecretKey",
|
340
|
+
GetPlayFabIDsFromBattleNetAccountIds(request, extraHeaders) {
|
341
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromBattleNetAccountIds", request, "X-SecretKey", extraHeaders);
|
342
342
|
}
|
343
343
|
/**
|
344
344
|
* Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers.
|
345
345
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookids
|
346
346
|
*/
|
347
|
-
GetPlayFabIDsFromFacebookIDs(request,
|
348
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey",
|
347
|
+
GetPlayFabIDsFromFacebookIDs(request, extraHeaders) {
|
348
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", extraHeaders);
|
349
349
|
}
|
350
350
|
/**
|
351
351
|
* Retrieves the unique PlayFab identifiers for the given set of Facebook Instant Games identifiers.
|
352
352
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromfacebookinstantgamesids
|
353
353
|
*/
|
354
|
-
GetPlayFabIDsFromFacebookInstantGamesIds(request,
|
355
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey",
|
354
|
+
GetPlayFabIDsFromFacebookInstantGamesIds(request, extraHeaders) {
|
355
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookInstantGamesIds", request, "X-SecretKey", extraHeaders);
|
356
356
|
}
|
357
357
|
/**
|
358
358
|
* Retrieves the unique PlayFab identifiers for the given set of generic service identifiers. A generic identifier is the
|
@@ -360,52 +360,52 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
360
360
|
* added to the player account.
|
361
361
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromgenericids
|
362
362
|
*/
|
363
|
-
GetPlayFabIDsFromGenericIDs(request,
|
364
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey",
|
363
|
+
GetPlayFabIDsFromGenericIDs(request, extraHeaders) {
|
364
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromGenericIDs", request, "X-SecretKey", extraHeaders);
|
365
365
|
}
|
366
366
|
/**
|
367
367
|
* Retrieves the unique PlayFab identifiers for the given set of Nintendo Service Account identifiers.
|
368
368
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoserviceaccountids
|
369
369
|
*/
|
370
|
-
GetPlayFabIDsFromNintendoServiceAccountIds(request,
|
371
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey",
|
370
|
+
GetPlayFabIDsFromNintendoServiceAccountIds(request, extraHeaders) {
|
371
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoServiceAccountIds", request, "X-SecretKey", extraHeaders);
|
372
372
|
}
|
373
373
|
/**
|
374
374
|
* Retrieves the unique PlayFab identifiers for the given set of Nintendo Switch Device identifiers.
|
375
375
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromnintendoswitchdeviceids
|
376
376
|
*/
|
377
|
-
GetPlayFabIDsFromNintendoSwitchDeviceIds(request,
|
378
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey",
|
377
|
+
GetPlayFabIDsFromNintendoSwitchDeviceIds(request, extraHeaders) {
|
378
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", extraHeaders);
|
379
379
|
}
|
380
380
|
/**
|
381
381
|
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
|
382
382
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnaccountids
|
383
383
|
*/
|
384
|
-
GetPlayFabIDsFromPSNAccountIDs(request,
|
385
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey",
|
384
|
+
GetPlayFabIDsFromPSNAccountIDs(request, extraHeaders) {
|
385
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", extraHeaders);
|
386
386
|
}
|
387
387
|
/**
|
388
388
|
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
|
389
389
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids
|
390
390
|
*/
|
391
|
-
GetPlayFabIDsFromPSNOnlineIDs(request,
|
392
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey",
|
391
|
+
GetPlayFabIDsFromPSNOnlineIDs(request, extraHeaders) {
|
392
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", extraHeaders);
|
393
393
|
}
|
394
394
|
/**
|
395
395
|
* Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile
|
396
396
|
* IDs for the user accounts, available as SteamId in the Steamworks Community API calls.
|
397
397
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamids
|
398
398
|
*/
|
399
|
-
GetPlayFabIDsFromSteamIDs(request,
|
400
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey",
|
399
|
+
GetPlayFabIDsFromSteamIDs(request, extraHeaders) {
|
400
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", extraHeaders);
|
401
401
|
}
|
402
402
|
/**
|
403
403
|
* Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are persona
|
404
404
|
* names.
|
405
405
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromsteamnames
|
406
406
|
*/
|
407
|
-
GetPlayFabIDsFromSteamNames(request,
|
408
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamNames", request, "X-SecretKey",
|
407
|
+
GetPlayFabIDsFromSteamNames(request, extraHeaders) {
|
408
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamNames", request, "X-SecretKey", extraHeaders);
|
409
409
|
}
|
410
410
|
/**
|
411
411
|
* Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers are the IDs for
|
@@ -413,22 +413,22 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
413
413
|
* https://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser).
|
414
414
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromtwitchids
|
415
415
|
*/
|
416
|
-
GetPlayFabIDsFromTwitchIDs(request,
|
417
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey",
|
416
|
+
GetPlayFabIDsFromTwitchIDs(request, extraHeaders) {
|
417
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", extraHeaders);
|
418
418
|
}
|
419
419
|
/**
|
420
420
|
* Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers.
|
421
421
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromxboxliveids
|
422
422
|
*/
|
423
|
-
GetPlayFabIDsFromXboxLiveIDs(request,
|
424
|
-
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey",
|
423
|
+
GetPlayFabIDsFromXboxLiveIDs(request, extraHeaders) {
|
424
|
+
return this.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromXboxLiveIDs", request, "X-SecretKey", extraHeaders);
|
425
425
|
}
|
426
426
|
/**
|
427
427
|
* Retrieves the key-value store of custom publisher settings
|
428
428
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getpublisherdata
|
429
429
|
*/
|
430
|
-
GetPublisherData(request,
|
431
|
-
return this.ExecuteRequestWrapper("/Server/GetPublisherData", request, "X-SecretKey",
|
430
|
+
GetPublisherData(request, extraHeaders) {
|
431
|
+
return this.ExecuteRequestWrapper("/Server/GetPublisherData", request, "X-SecretKey", extraHeaders);
|
432
432
|
}
|
433
433
|
/**
|
434
434
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -436,15 +436,15 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
436
436
|
* ItemId values and weights
|
437
437
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables
|
438
438
|
*/
|
439
|
-
GetRandomResultTables(request,
|
440
|
-
return this.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey",
|
439
|
+
GetRandomResultTables(request, extraHeaders) {
|
440
|
+
return this.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", extraHeaders);
|
441
441
|
}
|
442
442
|
/**
|
443
443
|
* Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers.
|
444
444
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids
|
445
445
|
*/
|
446
|
-
GetServerCustomIDsFromPlayFabIDs(request,
|
447
|
-
return this.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey",
|
446
|
+
GetServerCustomIDsFromPlayFabIDs(request, extraHeaders) {
|
447
|
+
return this.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", extraHeaders);
|
448
448
|
}
|
449
449
|
/**
|
450
450
|
* Retrieves data stored in a shared group object, as well as the list of members in the group. The server can access all
|
@@ -452,8 +452,8 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
452
452
|
* please see our guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
453
453
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/getsharedgroupdata
|
454
454
|
*/
|
455
|
-
GetSharedGroupData(request,
|
456
|
-
return this.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey",
|
455
|
+
GetSharedGroupData(request, extraHeaders) {
|
456
|
+
return this.ExecuteRequestWrapper("/Server/GetSharedGroupData", request, "X-SecretKey", extraHeaders);
|
457
457
|
}
|
458
458
|
/**
|
459
459
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -461,305 +461,305 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
461
461
|
* player
|
462
462
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/getstoreitems
|
463
463
|
*/
|
464
|
-
GetStoreItems(request,
|
465
|
-
return this.ExecuteRequestWrapper("/Server/GetStoreItems", request, "X-SecretKey",
|
464
|
+
GetStoreItems(request, extraHeaders) {
|
465
|
+
return this.ExecuteRequestWrapper("/Server/GetStoreItems", request, "X-SecretKey", extraHeaders);
|
466
466
|
}
|
467
467
|
/**
|
468
468
|
* Retrieves the current server time
|
469
469
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettime
|
470
470
|
*/
|
471
|
-
GetTime(request,
|
472
|
-
return this.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey",
|
471
|
+
GetTime(request, extraHeaders) {
|
472
|
+
return this.ExecuteRequestWrapper("/Server/GetTime", request, "X-SecretKey", extraHeaders);
|
473
473
|
}
|
474
474
|
/**
|
475
475
|
* Retrieves the key-value store of custom title settings
|
476
476
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitledata
|
477
477
|
*/
|
478
|
-
GetTitleData(request,
|
479
|
-
return this.ExecuteRequestWrapper("/Server/GetTitleData", request, "X-SecretKey",
|
478
|
+
GetTitleData(request, extraHeaders) {
|
479
|
+
return this.ExecuteRequestWrapper("/Server/GetTitleData", request, "X-SecretKey", extraHeaders);
|
480
480
|
}
|
481
481
|
/**
|
482
482
|
* Retrieves the key-value store of custom internal title settings
|
483
483
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitleinternaldata
|
484
484
|
*/
|
485
|
-
GetTitleInternalData(request,
|
486
|
-
return this.ExecuteRequestWrapper("/Server/GetTitleInternalData", request, "X-SecretKey",
|
485
|
+
GetTitleInternalData(request, extraHeaders) {
|
486
|
+
return this.ExecuteRequestWrapper("/Server/GetTitleInternalData", request, "X-SecretKey", extraHeaders);
|
487
487
|
}
|
488
488
|
/**
|
489
489
|
* Retrieves the title news feed, as configured in the developer portal
|
490
490
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/gettitlenews
|
491
491
|
*/
|
492
|
-
GetTitleNews(request,
|
493
|
-
return this.ExecuteRequestWrapper("/Server/GetTitleNews", request, "X-SecretKey",
|
492
|
+
GetTitleNews(request, extraHeaders) {
|
493
|
+
return this.ExecuteRequestWrapper("/Server/GetTitleNews", request, "X-SecretKey", extraHeaders);
|
494
494
|
}
|
495
495
|
/**
|
496
496
|
* Retrieves the relevant details for a specified user
|
497
497
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getuseraccountinfo
|
498
498
|
*/
|
499
|
-
GetUserAccountInfo(request,
|
500
|
-
return this.ExecuteRequestWrapper("/Server/GetUserAccountInfo", request, "X-SecretKey",
|
499
|
+
GetUserAccountInfo(request, extraHeaders) {
|
500
|
+
return this.ExecuteRequestWrapper("/Server/GetUserAccountInfo", request, "X-SecretKey", extraHeaders);
|
501
501
|
}
|
502
502
|
/**
|
503
503
|
* Gets all bans for a user.
|
504
504
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/getuserbans
|
505
505
|
*/
|
506
|
-
GetUserBans(request,
|
507
|
-
return this.ExecuteRequestWrapper("/Server/GetUserBans", request, "X-SecretKey",
|
506
|
+
GetUserBans(request, extraHeaders) {
|
507
|
+
return this.ExecuteRequestWrapper("/Server/GetUserBans", request, "X-SecretKey", extraHeaders);
|
508
508
|
}
|
509
509
|
/**
|
510
510
|
* Retrieves the title-specific custom data for the user which is readable and writable by the client
|
511
511
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserdata
|
512
512
|
*/
|
513
|
-
GetUserData(request,
|
514
|
-
return this.ExecuteRequestWrapper("/Server/GetUserData", request, "X-SecretKey",
|
513
|
+
GetUserData(request, extraHeaders) {
|
514
|
+
return this.ExecuteRequestWrapper("/Server/GetUserData", request, "X-SecretKey", extraHeaders);
|
515
515
|
}
|
516
516
|
/**
|
517
517
|
* Retrieves the title-specific custom data for the user which cannot be accessed by the client
|
518
518
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserinternaldata
|
519
519
|
*/
|
520
|
-
GetUserInternalData(request,
|
521
|
-
return this.ExecuteRequestWrapper("/Server/GetUserInternalData", request, "X-SecretKey",
|
520
|
+
GetUserInternalData(request, extraHeaders) {
|
521
|
+
return this.ExecuteRequestWrapper("/Server/GetUserInternalData", request, "X-SecretKey", extraHeaders);
|
522
522
|
}
|
523
523
|
/**
|
524
524
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
525
525
|
* version 2._ Retrieves the specified user's current inventory of virtual goods
|
526
526
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getuserinventory
|
527
527
|
*/
|
528
|
-
GetUserInventory(request,
|
529
|
-
return this.ExecuteRequestWrapper("/Server/GetUserInventory", request, "X-SecretKey",
|
528
|
+
GetUserInventory(request, extraHeaders) {
|
529
|
+
return this.ExecuteRequestWrapper("/Server/GetUserInventory", request, "X-SecretKey", extraHeaders);
|
530
530
|
}
|
531
531
|
/**
|
532
532
|
* Retrieves the publisher-specific custom data for the user which is readable and writable by the client
|
533
533
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherdata
|
534
534
|
*/
|
535
|
-
GetUserPublisherData(request,
|
536
|
-
return this.ExecuteRequestWrapper("/Server/GetUserPublisherData", request, "X-SecretKey",
|
535
|
+
GetUserPublisherData(request, extraHeaders) {
|
536
|
+
return this.ExecuteRequestWrapper("/Server/GetUserPublisherData", request, "X-SecretKey", extraHeaders);
|
537
537
|
}
|
538
538
|
/**
|
539
539
|
* Retrieves the publisher-specific custom data for the user which cannot be accessed by the client
|
540
540
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherinternaldata
|
541
541
|
*/
|
542
|
-
GetUserPublisherInternalData(request,
|
543
|
-
return this.ExecuteRequestWrapper("/Server/GetUserPublisherInternalData", request, "X-SecretKey",
|
542
|
+
GetUserPublisherInternalData(request, extraHeaders) {
|
543
|
+
return this.ExecuteRequestWrapper("/Server/GetUserPublisherInternalData", request, "X-SecretKey", extraHeaders);
|
544
544
|
}
|
545
545
|
/**
|
546
546
|
* Retrieves the publisher-specific custom data for the user which can only be read by the client
|
547
547
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserpublisherreadonlydata
|
548
548
|
*/
|
549
|
-
GetUserPublisherReadOnlyData(request,
|
550
|
-
return this.ExecuteRequestWrapper("/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey",
|
549
|
+
GetUserPublisherReadOnlyData(request, extraHeaders) {
|
550
|
+
return this.ExecuteRequestWrapper("/Server/GetUserPublisherReadOnlyData", request, "X-SecretKey", extraHeaders);
|
551
551
|
}
|
552
552
|
/**
|
553
553
|
* Retrieves the title-specific custom data for the user which can only be read by the client
|
554
554
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getuserreadonlydata
|
555
555
|
*/
|
556
|
-
GetUserReadOnlyData(request,
|
557
|
-
return this.ExecuteRequestWrapper("/Server/GetUserReadOnlyData", request, "X-SecretKey",
|
556
|
+
GetUserReadOnlyData(request, extraHeaders) {
|
557
|
+
return this.ExecuteRequestWrapper("/Server/GetUserReadOnlyData", request, "X-SecretKey", extraHeaders);
|
558
558
|
}
|
559
559
|
/**
|
560
560
|
* Grants the specified character type to the user. CharacterIds are not globally unique; characterId must be evaluated
|
561
561
|
* with the parent PlayFabId to guarantee uniqueness.
|
562
562
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/grantcharactertouser
|
563
563
|
*/
|
564
|
-
GrantCharacterToUser(request,
|
565
|
-
return this.ExecuteRequestWrapper("/Server/GrantCharacterToUser", request, "X-SecretKey",
|
564
|
+
GrantCharacterToUser(request, extraHeaders) {
|
565
|
+
return this.ExecuteRequestWrapper("/Server/GrantCharacterToUser", request, "X-SecretKey", extraHeaders);
|
566
566
|
}
|
567
567
|
/**
|
568
568
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
569
569
|
* version 2._ Adds the specified items to the specified character's inventory
|
570
570
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstocharacter
|
571
571
|
*/
|
572
|
-
GrantItemsToCharacter(request,
|
573
|
-
return this.ExecuteRequestWrapper("/Server/GrantItemsToCharacter", request, "X-SecretKey",
|
572
|
+
GrantItemsToCharacter(request, extraHeaders) {
|
573
|
+
return this.ExecuteRequestWrapper("/Server/GrantItemsToCharacter", request, "X-SecretKey", extraHeaders);
|
574
574
|
}
|
575
575
|
/**
|
576
576
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
577
577
|
* version 2._ Adds the specified items to the specified user's inventory
|
578
578
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstouser
|
579
579
|
*/
|
580
|
-
GrantItemsToUser(request,
|
581
|
-
return this.ExecuteRequestWrapper("/Server/GrantItemsToUser", request, "X-SecretKey",
|
580
|
+
GrantItemsToUser(request, extraHeaders) {
|
581
|
+
return this.ExecuteRequestWrapper("/Server/GrantItemsToUser", request, "X-SecretKey", extraHeaders);
|
582
582
|
}
|
583
583
|
/**
|
584
584
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
585
585
|
* version 2._ Adds the specified items to the specified user inventories
|
586
586
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/grantitemstousers
|
587
587
|
*/
|
588
|
-
GrantItemsToUsers(request,
|
589
|
-
return this.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey",
|
588
|
+
GrantItemsToUsers(request, extraHeaders) {
|
589
|
+
return this.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", extraHeaders);
|
590
590
|
}
|
591
591
|
/**
|
592
592
|
* Links the Battle.net account associated with the token to the user's PlayFab account.
|
593
593
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linkbattlenetaccount
|
594
594
|
*/
|
595
|
-
LinkBattleNetAccount(request,
|
596
|
-
return this.ExecuteRequestWrapper("/Server/LinkBattleNetAccount", request, "X-SecretKey",
|
595
|
+
LinkBattleNetAccount(request, extraHeaders) {
|
596
|
+
return this.ExecuteRequestWrapper("/Server/LinkBattleNetAccount", request, "X-SecretKey", extraHeaders);
|
597
597
|
}
|
598
598
|
/**
|
599
599
|
* Links the Nintendo account associated with the token to the user's PlayFab account
|
600
600
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccount
|
601
601
|
*/
|
602
|
-
LinkNintendoServiceAccount(request,
|
603
|
-
return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey",
|
602
|
+
LinkNintendoServiceAccount(request, extraHeaders) {
|
603
|
+
return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", extraHeaders);
|
604
604
|
}
|
605
605
|
/**
|
606
606
|
* Links the Nintendo account associated with the Nintendo Service Account subject or id to the user's PlayFab account
|
607
607
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoserviceaccountsubject
|
608
608
|
*/
|
609
|
-
LinkNintendoServiceAccountSubject(request,
|
610
|
-
return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccountSubject", request, "X-SecretKey",
|
609
|
+
LinkNintendoServiceAccountSubject(request, extraHeaders) {
|
610
|
+
return this.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccountSubject", request, "X-SecretKey", extraHeaders);
|
611
611
|
}
|
612
612
|
/**
|
613
613
|
* Links the NintendoSwitchDeviceId to the user's PlayFab account
|
614
614
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linknintendoswitchdeviceid
|
615
615
|
*/
|
616
|
-
LinkNintendoSwitchDeviceId(request,
|
617
|
-
return this.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey",
|
616
|
+
LinkNintendoSwitchDeviceId(request, extraHeaders) {
|
617
|
+
return this.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", extraHeaders);
|
618
618
|
}
|
619
619
|
/**
|
620
620
|
* Links the PlayStation :tm: Network account associated with the provided access code to the user's PlayFab account
|
621
621
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnaccount
|
622
622
|
*/
|
623
|
-
LinkPSNAccount(request,
|
624
|
-
return this.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey",
|
623
|
+
LinkPSNAccount(request, extraHeaders) {
|
624
|
+
return this.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", extraHeaders);
|
625
625
|
}
|
626
626
|
/**
|
627
627
|
* Links the PlayStation :tm: Network account associated with the provided user id to the user's PlayFab account
|
628
628
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linkpsnid
|
629
629
|
*/
|
630
|
-
LinkPSNId(request,
|
631
|
-
return this.ExecuteRequestWrapper("/Server/LinkPSNId", request, "X-SecretKey",
|
630
|
+
LinkPSNId(request, extraHeaders) {
|
631
|
+
return this.ExecuteRequestWrapper("/Server/LinkPSNId", request, "X-SecretKey", extraHeaders);
|
632
632
|
}
|
633
633
|
/**
|
634
634
|
* Links the custom server identifier, generated by the title, to the user's PlayFab account.
|
635
635
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linkservercustomid
|
636
636
|
*/
|
637
|
-
LinkServerCustomId(request,
|
638
|
-
return this.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey",
|
637
|
+
LinkServerCustomId(request, extraHeaders) {
|
638
|
+
return this.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", extraHeaders);
|
639
639
|
}
|
640
640
|
/**
|
641
641
|
* Links the Steam account associated with the provided Steam ID to the user's PlayFab account
|
642
642
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linksteamid
|
643
643
|
*/
|
644
|
-
LinkSteamId(request,
|
645
|
-
return this.ExecuteRequestWrapper("/Server/LinkSteamId", request, "X-SecretKey",
|
644
|
+
LinkSteamId(request, extraHeaders) {
|
645
|
+
return this.ExecuteRequestWrapper("/Server/LinkSteamId", request, "X-SecretKey", extraHeaders);
|
646
646
|
}
|
647
647
|
/**
|
648
648
|
* Links the Xbox Live account associated with the provided access code to the user's PlayFab account
|
649
649
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/linkxboxaccount
|
650
650
|
*/
|
651
|
-
LinkXboxAccount(request,
|
652
|
-
return this.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey",
|
651
|
+
LinkXboxAccount(request, extraHeaders) {
|
652
|
+
return this.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", extraHeaders);
|
653
653
|
}
|
654
654
|
/**
|
655
655
|
* Retrieves title-specific custom property values for a player.
|
656
656
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/listplayercustomproperties
|
657
657
|
*/
|
658
|
-
ListPlayerCustomProperties(request,
|
659
|
-
return this.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey",
|
658
|
+
ListPlayerCustomProperties(request, extraHeaders) {
|
659
|
+
return this.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", extraHeaders);
|
660
660
|
}
|
661
661
|
/**
|
662
662
|
* Signs the user in using the Android device identifier, returning a session identifier that can subsequently be used for
|
663
663
|
* API calls which require an authenticated user
|
664
664
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithandroiddeviceid
|
665
665
|
*/
|
666
|
-
LoginWithAndroidDeviceID(request,
|
667
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithAndroidDeviceID", request, "X-SecretKey",
|
666
|
+
LoginWithAndroidDeviceID(request, extraHeaders) {
|
667
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithAndroidDeviceID", request, "X-SecretKey", extraHeaders);
|
668
668
|
}
|
669
669
|
/**
|
670
670
|
* Sign in the user with a Battle.net identity token
|
671
671
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithbattlenet
|
672
672
|
*/
|
673
|
-
LoginWithBattleNet(request,
|
674
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithBattleNet", request, "X-SecretKey",
|
673
|
+
LoginWithBattleNet(request, extraHeaders) {
|
674
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithBattleNet", request, "X-SecretKey", extraHeaders);
|
675
675
|
}
|
676
676
|
/**
|
677
677
|
* Signs the user in using a custom unique identifier generated by the title, returning a session identifier that can
|
678
678
|
* subsequently be used for API calls which require an authenticated user
|
679
679
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithcustomid
|
680
680
|
*/
|
681
|
-
LoginWithCustomID(request,
|
682
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithCustomID", request, "X-SecretKey",
|
681
|
+
LoginWithCustomID(request, extraHeaders) {
|
682
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithCustomID", request, "X-SecretKey", extraHeaders);
|
683
683
|
}
|
684
684
|
/**
|
685
685
|
* Signs the user in using the iOS device identifier, returning a session identifier that can subsequently be used for API
|
686
686
|
* calls which require an authenticated user
|
687
687
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithiosdeviceid
|
688
688
|
*/
|
689
|
-
LoginWithIOSDeviceID(request,
|
690
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithIOSDeviceID", request, "X-SecretKey",
|
689
|
+
LoginWithIOSDeviceID(request, extraHeaders) {
|
690
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithIOSDeviceID", request, "X-SecretKey", extraHeaders);
|
691
691
|
}
|
692
692
|
/**
|
693
693
|
* Signs the user in using a PlayStation :tm: Network authentication code, returning a session identifier that can
|
694
694
|
* subsequently be used for API calls which require an authenticated user
|
695
695
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithpsn
|
696
696
|
*/
|
697
|
-
LoginWithPSN(request,
|
698
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey",
|
697
|
+
LoginWithPSN(request, extraHeaders) {
|
698
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", extraHeaders);
|
699
699
|
}
|
700
700
|
/**
|
701
701
|
* Securely login a game client from an external server backend using a custom identifier for that player. Server Custom ID
|
702
702
|
* and Client Custom ID are mutually exclusive and cannot be used to retrieve the same player account.
|
703
703
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithservercustomid
|
704
704
|
*/
|
705
|
-
LoginWithServerCustomId(request,
|
706
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey",
|
705
|
+
LoginWithServerCustomId(request, extraHeaders) {
|
706
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", extraHeaders);
|
707
707
|
}
|
708
708
|
/**
|
709
709
|
* Signs the user in using an Steam ID, returning a session identifier that can subsequently be used for API calls which
|
710
710
|
* require an authenticated user
|
711
711
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithsteamid
|
712
712
|
*/
|
713
|
-
LoginWithSteamId(request,
|
714
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey",
|
713
|
+
LoginWithSteamId(request, extraHeaders) {
|
714
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", extraHeaders);
|
715
715
|
}
|
716
716
|
/**
|
717
717
|
* Signs the user in using a Xbox Live Token from an external server backend, returning a session identifier that can
|
718
718
|
* subsequently be used for API calls which require an authenticated user
|
719
719
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxbox
|
720
720
|
*/
|
721
|
-
LoginWithXbox(request,
|
722
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey",
|
721
|
+
LoginWithXbox(request, extraHeaders) {
|
722
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", extraHeaders);
|
723
723
|
}
|
724
724
|
/**
|
725
725
|
* Signs the user in using an Xbox ID and Sandbox ID, returning a session identifier that can subsequently be used for API
|
726
726
|
* calls which require an authenticated user
|
727
727
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/loginwithxboxid
|
728
728
|
*/
|
729
|
-
LoginWithXboxId(request,
|
730
|
-
return this.ExecuteRequestWrapper("/Server/LoginWithXboxId", request, "X-SecretKey",
|
729
|
+
LoginWithXboxId(request, extraHeaders) {
|
730
|
+
return this.ExecuteRequestWrapper("/Server/LoginWithXboxId", request, "X-SecretKey", extraHeaders);
|
731
731
|
}
|
732
732
|
/**
|
733
733
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
734
734
|
* version 2._ Modifies the number of remaining uses of a player's inventory item
|
735
735
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/modifyitemuses
|
736
736
|
*/
|
737
|
-
ModifyItemUses(request,
|
738
|
-
return this.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey",
|
737
|
+
ModifyItemUses(request, extraHeaders) {
|
738
|
+
return this.ExecuteRequestWrapper("/Server/ModifyItemUses", request, "X-SecretKey", extraHeaders);
|
739
739
|
}
|
740
740
|
/**
|
741
741
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
742
742
|
* version 2._ Moves an item from a character's inventory into another of the users's character's inventory.
|
743
743
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromcharacter
|
744
744
|
*/
|
745
|
-
MoveItemToCharacterFromCharacter(request,
|
746
|
-
return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey",
|
745
|
+
MoveItemToCharacterFromCharacter(request, extraHeaders) {
|
746
|
+
return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromCharacter", request, "X-SecretKey", extraHeaders);
|
747
747
|
}
|
748
748
|
/**
|
749
749
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
750
750
|
* version 2._ Moves an item from a user's inventory into their character's inventory.
|
751
751
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtocharacterfromuser
|
752
752
|
*/
|
753
|
-
MoveItemToCharacterFromUser(request,
|
754
|
-
return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromUser", request, "X-SecretKey",
|
753
|
+
MoveItemToCharacterFromUser(request, extraHeaders) {
|
754
|
+
return this.ExecuteRequestWrapper("/Server/MoveItemToCharacterFromUser", request, "X-SecretKey", extraHeaders);
|
755
755
|
}
|
756
756
|
/**
|
757
757
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
758
758
|
* version 2._ Moves an item from a character's inventory into the owning user's inventory.
|
759
759
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/moveitemtouserfromcharacter
|
760
760
|
*/
|
761
|
-
MoveItemToUserFromCharacter(request,
|
762
|
-
return this.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey",
|
761
|
+
MoveItemToUserFromCharacter(request, extraHeaders) {
|
762
|
+
return this.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", extraHeaders);
|
763
763
|
}
|
764
764
|
/**
|
765
765
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -767,29 +767,29 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
767
767
|
* Economy->Catalogs tab in the PlayFab Game Manager.
|
768
768
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/redeemcoupon
|
769
769
|
*/
|
770
|
-
RedeemCoupon(request,
|
771
|
-
return this.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey",
|
770
|
+
RedeemCoupon(request, extraHeaders) {
|
771
|
+
return this.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", extraHeaders);
|
772
772
|
}
|
773
773
|
/**
|
774
774
|
* Removes the specified friend from the the user's friend list
|
775
775
|
* https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/removefriend
|
776
776
|
*/
|
777
|
-
RemoveFriend(request,
|
778
|
-
return this.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey",
|
777
|
+
RemoveFriend(request, extraHeaders) {
|
778
|
+
return this.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", extraHeaders);
|
779
779
|
}
|
780
780
|
/**
|
781
781
|
* Removes the specified generic service identifier from the player's PlayFab account.
|
782
782
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/removegenericid
|
783
783
|
*/
|
784
|
-
RemoveGenericID(request,
|
785
|
-
return this.ExecuteRequestWrapper("/Server/RemoveGenericID", request, "X-SecretKey",
|
784
|
+
RemoveGenericID(request, extraHeaders) {
|
785
|
+
return this.ExecuteRequestWrapper("/Server/RemoveGenericID", request, "X-SecretKey", extraHeaders);
|
786
786
|
}
|
787
787
|
/**
|
788
788
|
* Remove a given tag from a player profile. The tag's namespace is automatically generated based on the source of the tag.
|
789
789
|
* https://docs.microsoft.com/rest/api/playfab/server/playstream/removeplayertag
|
790
790
|
*/
|
791
|
-
RemovePlayerTag(request,
|
792
|
-
return this.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey",
|
791
|
+
RemovePlayerTag(request, extraHeaders) {
|
792
|
+
return this.ExecuteRequestWrapper("/Server/RemovePlayerTag", request, "X-SecretKey", extraHeaders);
|
793
793
|
}
|
794
794
|
/**
|
795
795
|
* Removes users from the set of those able to update the shared data and the set of users in the group. Only users in the
|
@@ -798,120 +798,120 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
798
798
|
* guide: https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
799
799
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/removesharedgroupmembers
|
800
800
|
*/
|
801
|
-
RemoveSharedGroupMembers(request,
|
802
|
-
return this.ExecuteRequestWrapper("/Server/RemoveSharedGroupMembers", request, "X-SecretKey",
|
801
|
+
RemoveSharedGroupMembers(request, extraHeaders) {
|
802
|
+
return this.ExecuteRequestWrapper("/Server/RemoveSharedGroupMembers", request, "X-SecretKey", extraHeaders);
|
803
803
|
}
|
804
804
|
/**
|
805
805
|
* Submit a report about a player (due to bad bahavior, etc.) on behalf of another player, so that customer service
|
806
806
|
* representatives for the title can take action concerning potentially toxic players.
|
807
807
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/reportplayer
|
808
808
|
*/
|
809
|
-
ReportPlayer(request,
|
810
|
-
return this.ExecuteRequestWrapper("/Server/ReportPlayer", request, "X-SecretKey",
|
809
|
+
ReportPlayer(request, extraHeaders) {
|
810
|
+
return this.ExecuteRequestWrapper("/Server/ReportPlayer", request, "X-SecretKey", extraHeaders);
|
811
811
|
}
|
812
812
|
/**
|
813
813
|
* Revoke all active bans for a user.
|
814
814
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/revokeallbansforuser
|
815
815
|
*/
|
816
|
-
RevokeAllBansForUser(request,
|
817
|
-
return this.ExecuteRequestWrapper("/Server/RevokeAllBansForUser", request, "X-SecretKey",
|
816
|
+
RevokeAllBansForUser(request, extraHeaders) {
|
817
|
+
return this.ExecuteRequestWrapper("/Server/RevokeAllBansForUser", request, "X-SecretKey", extraHeaders);
|
818
818
|
}
|
819
819
|
/**
|
820
820
|
* Revoke all active bans specified with BanId.
|
821
821
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/revokebans
|
822
822
|
*/
|
823
|
-
RevokeBans(request,
|
824
|
-
return this.ExecuteRequestWrapper("/Server/RevokeBans", request, "X-SecretKey",
|
823
|
+
RevokeBans(request, extraHeaders) {
|
824
|
+
return this.ExecuteRequestWrapper("/Server/RevokeBans", request, "X-SecretKey", extraHeaders);
|
825
825
|
}
|
826
826
|
/**
|
827
827
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
828
828
|
* version 2._ Revokes access to an item in a user's inventory
|
829
829
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitem
|
830
830
|
*/
|
831
|
-
RevokeInventoryItem(request,
|
832
|
-
return this.ExecuteRequestWrapper("/Server/RevokeInventoryItem", request, "X-SecretKey",
|
831
|
+
RevokeInventoryItem(request, extraHeaders) {
|
832
|
+
return this.ExecuteRequestWrapper("/Server/RevokeInventoryItem", request, "X-SecretKey", extraHeaders);
|
833
833
|
}
|
834
834
|
/**
|
835
835
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
836
836
|
* version 2._ Revokes access for up to 25 items across multiple users and characters.
|
837
837
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/revokeinventoryitems
|
838
838
|
*/
|
839
|
-
RevokeInventoryItems(request,
|
840
|
-
return this.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey",
|
839
|
+
RevokeInventoryItems(request, extraHeaders) {
|
840
|
+
return this.ExecuteRequestWrapper("/Server/RevokeInventoryItems", request, "X-SecretKey", extraHeaders);
|
841
841
|
}
|
842
842
|
/**
|
843
843
|
* Saves push notification template for title
|
844
844
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/savepushnotificationtemplate
|
845
845
|
*/
|
846
|
-
SavePushNotificationTemplate(request,
|
847
|
-
return this.ExecuteRequestWrapper("/Server/SavePushNotificationTemplate", request, "X-SecretKey",
|
846
|
+
SavePushNotificationTemplate(request, extraHeaders) {
|
847
|
+
return this.ExecuteRequestWrapper("/Server/SavePushNotificationTemplate", request, "X-SecretKey", extraHeaders);
|
848
848
|
}
|
849
849
|
/**
|
850
850
|
* Forces an email to be sent to the registered contact email address for the user's account based on an account recovery
|
851
851
|
* email template
|
852
852
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/sendcustomaccountrecoveryemail
|
853
853
|
*/
|
854
|
-
SendCustomAccountRecoveryEmail(request,
|
855
|
-
return this.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey",
|
854
|
+
SendCustomAccountRecoveryEmail(request, extraHeaders) {
|
855
|
+
return this.ExecuteRequestWrapper("/Server/SendCustomAccountRecoveryEmail", request, "X-SecretKey", extraHeaders);
|
856
856
|
}
|
857
857
|
/**
|
858
858
|
* Sends an email based on an email template to a player's contact email
|
859
859
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/sendemailfromtemplate
|
860
860
|
*/
|
861
|
-
SendEmailFromTemplate(request,
|
862
|
-
return this.ExecuteRequestWrapper("/Server/SendEmailFromTemplate", request, "X-SecretKey",
|
861
|
+
SendEmailFromTemplate(request, extraHeaders) {
|
862
|
+
return this.ExecuteRequestWrapper("/Server/SendEmailFromTemplate", request, "X-SecretKey", extraHeaders);
|
863
863
|
}
|
864
864
|
/**
|
865
865
|
* Sends an iOS/Android Push Notification to a specific user, if that user's device has been configured for Push
|
866
866
|
* Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
|
867
867
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotification
|
868
868
|
*/
|
869
|
-
SendPushNotification(request,
|
870
|
-
return this.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey",
|
869
|
+
SendPushNotification(request, extraHeaders) {
|
870
|
+
return this.ExecuteRequestWrapper("/Server/SendPushNotification", request, "X-SecretKey", extraHeaders);
|
871
871
|
}
|
872
872
|
/**
|
873
873
|
* Sends an iOS/Android Push Notification template to a specific user, if that user's device has been configured for Push
|
874
874
|
* Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
|
875
875
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/sendpushnotificationfromtemplate
|
876
876
|
*/
|
877
|
-
SendPushNotificationFromTemplate(request,
|
878
|
-
return this.ExecuteRequestWrapper("/Server/SendPushNotificationFromTemplate", request, "X-SecretKey",
|
877
|
+
SendPushNotificationFromTemplate(request, extraHeaders) {
|
878
|
+
return this.ExecuteRequestWrapper("/Server/SendPushNotificationFromTemplate", request, "X-SecretKey", extraHeaders);
|
879
879
|
}
|
880
880
|
/**
|
881
881
|
* Updates the tag list for a specified user in the friend list of another user
|
882
882
|
* https://docs.microsoft.com/rest/api/playfab/server/friend-list-management/setfriendtags
|
883
883
|
*/
|
884
|
-
SetFriendTags(request,
|
885
|
-
return this.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey",
|
884
|
+
SetFriendTags(request, extraHeaders) {
|
885
|
+
return this.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", extraHeaders);
|
886
886
|
}
|
887
887
|
/**
|
888
888
|
* Sets the player's secret if it is not already set. Player secrets are used to sign API requests. To reset a player's
|
889
889
|
* secret use the Admin or Server API method SetPlayerSecret.
|
890
890
|
* https://docs.microsoft.com/rest/api/playfab/server/authentication/setplayersecret
|
891
891
|
*/
|
892
|
-
SetPlayerSecret(request,
|
893
|
-
return this.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey",
|
892
|
+
SetPlayerSecret(request, extraHeaders) {
|
893
|
+
return this.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", extraHeaders);
|
894
894
|
}
|
895
895
|
/**
|
896
896
|
* Updates the key-value store of custom publisher settings
|
897
897
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/setpublisherdata
|
898
898
|
*/
|
899
|
-
SetPublisherData(request,
|
900
|
-
return this.ExecuteRequestWrapper("/Server/SetPublisherData", request, "X-SecretKey",
|
899
|
+
SetPublisherData(request, extraHeaders) {
|
900
|
+
return this.ExecuteRequestWrapper("/Server/SetPublisherData", request, "X-SecretKey", extraHeaders);
|
901
901
|
}
|
902
902
|
/**
|
903
903
|
* Updates the key-value store of custom title settings
|
904
904
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitledata
|
905
905
|
*/
|
906
|
-
SetTitleData(request,
|
907
|
-
return this.ExecuteRequestWrapper("/Server/SetTitleData", request, "X-SecretKey",
|
906
|
+
SetTitleData(request, extraHeaders) {
|
907
|
+
return this.ExecuteRequestWrapper("/Server/SetTitleData", request, "X-SecretKey", extraHeaders);
|
908
908
|
}
|
909
909
|
/**
|
910
910
|
* Updates the key-value store of custom title settings
|
911
911
|
* https://docs.microsoft.com/rest/api/playfab/server/title-wide-data-management/settitleinternaldata
|
912
912
|
*/
|
913
|
-
SetTitleInternalData(request,
|
914
|
-
return this.ExecuteRequestWrapper("/Server/SetTitleInternalData", request, "X-SecretKey",
|
913
|
+
SetTitleInternalData(request, extraHeaders) {
|
914
|
+
return this.ExecuteRequestWrapper("/Server/SetTitleInternalData", request, "X-SecretKey", extraHeaders);
|
915
915
|
}
|
916
916
|
/**
|
917
917
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -919,8 +919,8 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
919
919
|
* make a VC balance negative with this API.
|
920
920
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractcharactervirtualcurrency
|
921
921
|
*/
|
922
|
-
SubtractCharacterVirtualCurrency(request,
|
923
|
-
return this.ExecuteRequestWrapper("/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey",
|
922
|
+
SubtractCharacterVirtualCurrency(request, extraHeaders) {
|
923
|
+
return this.ExecuteRequestWrapper("/Server/SubtractCharacterVirtualCurrency", request, "X-SecretKey", extraHeaders);
|
924
924
|
}
|
925
925
|
/**
|
926
926
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -928,57 +928,57 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
928
928
|
* a VC balance negative with this API.
|
929
929
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency
|
930
930
|
*/
|
931
|
-
SubtractUserVirtualCurrency(request,
|
932
|
-
return this.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey",
|
931
|
+
SubtractUserVirtualCurrency(request, extraHeaders) {
|
932
|
+
return this.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", extraHeaders);
|
933
933
|
}
|
934
934
|
/**
|
935
935
|
* Unlinks the related Battle.net account from the user's PlayFab account.
|
936
936
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount
|
937
937
|
*/
|
938
|
-
UnlinkBattleNetAccount(request,
|
939
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey",
|
938
|
+
UnlinkBattleNetAccount(request, extraHeaders) {
|
939
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", extraHeaders);
|
940
940
|
}
|
941
941
|
/**
|
942
942
|
* Unlinks the related Nintendo account from the user's PlayFab account
|
943
943
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount
|
944
944
|
*/
|
945
|
-
UnlinkNintendoServiceAccount(request,
|
946
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey",
|
945
|
+
UnlinkNintendoServiceAccount(request, extraHeaders) {
|
946
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", extraHeaders);
|
947
947
|
}
|
948
948
|
/**
|
949
949
|
* Unlinks the related NintendoSwitchDeviceId from the user's PlayFab account
|
950
950
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoswitchdeviceid
|
951
951
|
*/
|
952
|
-
UnlinkNintendoSwitchDeviceId(request,
|
953
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey",
|
952
|
+
UnlinkNintendoSwitchDeviceId(request, extraHeaders) {
|
953
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkNintendoSwitchDeviceId", request, "X-SecretKey", extraHeaders);
|
954
954
|
}
|
955
955
|
/**
|
956
956
|
* Unlinks the related PlayStation :tm: Network account from the user's PlayFab account
|
957
957
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkpsnaccount
|
958
958
|
*/
|
959
|
-
UnlinkPSNAccount(request,
|
960
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey",
|
959
|
+
UnlinkPSNAccount(request, extraHeaders) {
|
960
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkPSNAccount", request, "X-SecretKey", extraHeaders);
|
961
961
|
}
|
962
962
|
/**
|
963
963
|
* Unlinks the custom server identifier from the user's PlayFab account.
|
964
964
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkservercustomid
|
965
965
|
*/
|
966
|
-
UnlinkServerCustomId(request,
|
967
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey",
|
966
|
+
UnlinkServerCustomId(request, extraHeaders) {
|
967
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", extraHeaders);
|
968
968
|
}
|
969
969
|
/**
|
970
970
|
* Unlinks the Steam account associated with the provided Steam ID to the user's PlayFab account
|
971
971
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinksteamid
|
972
972
|
*/
|
973
|
-
UnlinkSteamId(request,
|
974
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkSteamId", request, "X-SecretKey",
|
973
|
+
UnlinkSteamId(request, extraHeaders) {
|
974
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkSteamId", request, "X-SecretKey", extraHeaders);
|
975
975
|
}
|
976
976
|
/**
|
977
977
|
* Unlinks the related Xbox Live account from the user's PlayFab account
|
978
978
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkxboxaccount
|
979
979
|
*/
|
980
|
-
UnlinkXboxAccount(request,
|
981
|
-
return this.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey",
|
980
|
+
UnlinkXboxAccount(request, extraHeaders) {
|
981
|
+
return this.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", extraHeaders);
|
982
982
|
}
|
983
983
|
/**
|
984
984
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -987,8 +987,8 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
987
987
|
* (RemainingUses > 0), their RemainingUses will be decremented, consistent with the operation of ConsumeItem.
|
988
988
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontainerinstance
|
989
989
|
*/
|
990
|
-
UnlockContainerInstance(request,
|
991
|
-
return this.ExecuteRequestWrapper("/Server/UnlockContainerInstance", request, "X-SecretKey",
|
990
|
+
UnlockContainerInstance(request, extraHeaders) {
|
991
|
+
return this.ExecuteRequestWrapper("/Server/UnlockContainerInstance", request, "X-SecretKey", extraHeaders);
|
992
992
|
}
|
993
993
|
/**
|
994
994
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
@@ -998,64 +998,64 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
998
998
|
* ConsumeItem.
|
999
999
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/unlockcontaineritem
|
1000
1000
|
*/
|
1001
|
-
UnlockContainerItem(request,
|
1002
|
-
return this.ExecuteRequestWrapper("/Server/UnlockContainerItem", request, "X-SecretKey",
|
1001
|
+
UnlockContainerItem(request, extraHeaders) {
|
1002
|
+
return this.ExecuteRequestWrapper("/Server/UnlockContainerItem", request, "X-SecretKey", extraHeaders);
|
1003
1003
|
}
|
1004
1004
|
/**
|
1005
1005
|
* Update the avatar URL of the specified player
|
1006
1006
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/updateavatarurl
|
1007
1007
|
*/
|
1008
|
-
UpdateAvatarUrl(request,
|
1009
|
-
return this.ExecuteRequestWrapper("/Server/UpdateAvatarUrl", request, "X-SecretKey",
|
1008
|
+
UpdateAvatarUrl(request, extraHeaders) {
|
1009
|
+
return this.ExecuteRequestWrapper("/Server/UpdateAvatarUrl", request, "X-SecretKey", extraHeaders);
|
1010
1010
|
}
|
1011
1011
|
/**
|
1012
1012
|
* Updates information of a list of existing bans specified with Ban Ids.
|
1013
1013
|
* https://docs.microsoft.com/rest/api/playfab/server/account-management/updatebans
|
1014
1014
|
*/
|
1015
|
-
UpdateBans(request,
|
1016
|
-
return this.ExecuteRequestWrapper("/Server/UpdateBans", request, "X-SecretKey",
|
1015
|
+
UpdateBans(request, extraHeaders) {
|
1016
|
+
return this.ExecuteRequestWrapper("/Server/UpdateBans", request, "X-SecretKey", extraHeaders);
|
1017
1017
|
}
|
1018
1018
|
/**
|
1019
1019
|
* Updates the title-specific custom data for the user's character which is readable and writable by the client
|
1020
1020
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterdata
|
1021
1021
|
*/
|
1022
|
-
UpdateCharacterData(request,
|
1023
|
-
return this.ExecuteRequestWrapper("/Server/UpdateCharacterData", request, "X-SecretKey",
|
1022
|
+
UpdateCharacterData(request, extraHeaders) {
|
1023
|
+
return this.ExecuteRequestWrapper("/Server/UpdateCharacterData", request, "X-SecretKey", extraHeaders);
|
1024
1024
|
}
|
1025
1025
|
/**
|
1026
1026
|
* Updates the title-specific custom data for the user's character which cannot be accessed by the client
|
1027
1027
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterinternaldata
|
1028
1028
|
*/
|
1029
|
-
UpdateCharacterInternalData(request,
|
1030
|
-
return this.ExecuteRequestWrapper("/Server/UpdateCharacterInternalData", request, "X-SecretKey",
|
1029
|
+
UpdateCharacterInternalData(request, extraHeaders) {
|
1030
|
+
return this.ExecuteRequestWrapper("/Server/UpdateCharacterInternalData", request, "X-SecretKey", extraHeaders);
|
1031
1031
|
}
|
1032
1032
|
/**
|
1033
1033
|
* Updates the title-specific custom data for the user's character which can only be read by the client
|
1034
1034
|
* https://docs.microsoft.com/rest/api/playfab/server/character-data/updatecharacterreadonlydata
|
1035
1035
|
*/
|
1036
|
-
UpdateCharacterReadOnlyData(request,
|
1037
|
-
return this.ExecuteRequestWrapper("/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey",
|
1036
|
+
UpdateCharacterReadOnlyData(request, extraHeaders) {
|
1037
|
+
return this.ExecuteRequestWrapper("/Server/UpdateCharacterReadOnlyData", request, "X-SecretKey", extraHeaders);
|
1038
1038
|
}
|
1039
1039
|
/**
|
1040
1040
|
* Updates the values of the specified title-specific statistics for the specific character
|
1041
1041
|
* https://docs.microsoft.com/rest/api/playfab/server/characters/updatecharacterstatistics
|
1042
1042
|
*/
|
1043
|
-
UpdateCharacterStatistics(request,
|
1044
|
-
return this.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey",
|
1043
|
+
UpdateCharacterStatistics(request, extraHeaders) {
|
1044
|
+
return this.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", extraHeaders);
|
1045
1045
|
}
|
1046
1046
|
/**
|
1047
1047
|
* Updates the title-specific custom property values for a player
|
1048
1048
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayercustomproperties
|
1049
1049
|
*/
|
1050
|
-
UpdatePlayerCustomProperties(request,
|
1051
|
-
return this.ExecuteRequestWrapper("/Server/UpdatePlayerCustomProperties", request, "X-SecretKey",
|
1050
|
+
UpdatePlayerCustomProperties(request, extraHeaders) {
|
1051
|
+
return this.ExecuteRequestWrapper("/Server/UpdatePlayerCustomProperties", request, "X-SecretKey", extraHeaders);
|
1052
1052
|
}
|
1053
1053
|
/**
|
1054
1054
|
* Updates the values of the specified title-specific statistics for the user
|
1055
1055
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateplayerstatistics
|
1056
1056
|
*/
|
1057
|
-
UpdatePlayerStatistics(request,
|
1058
|
-
return this.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey",
|
1057
|
+
UpdatePlayerStatistics(request, extraHeaders) {
|
1058
|
+
return this.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", extraHeaders);
|
1059
1059
|
}
|
1060
1060
|
/**
|
1061
1061
|
* Adds, updates, and removes data keys for a shared group object. If the permission is set to Public, all fields updated
|
@@ -1065,83 +1065,83 @@ var PlayFabServerApi = class extends PlayFabCommon {
|
|
1065
1065
|
* https://docs.microsoft.com/gaming/playfab/features/social/groups/using-shared-group-data
|
1066
1066
|
* https://docs.microsoft.com/rest/api/playfab/server/shared-group-data/updatesharedgroupdata
|
1067
1067
|
*/
|
1068
|
-
UpdateSharedGroupData(request,
|
1069
|
-
return this.ExecuteRequestWrapper("/Server/UpdateSharedGroupData", request, "X-SecretKey",
|
1068
|
+
UpdateSharedGroupData(request, extraHeaders) {
|
1069
|
+
return this.ExecuteRequestWrapper("/Server/UpdateSharedGroupData", request, "X-SecretKey", extraHeaders);
|
1070
1070
|
}
|
1071
1071
|
/**
|
1072
1072
|
* Updates the title-specific custom data for the user which is readable and writable by the client
|
1073
1073
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserdata
|
1074
1074
|
*/
|
1075
|
-
UpdateUserData(request,
|
1076
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserData", request, "X-SecretKey",
|
1075
|
+
UpdateUserData(request, extraHeaders) {
|
1076
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserData", request, "X-SecretKey", extraHeaders);
|
1077
1077
|
}
|
1078
1078
|
/**
|
1079
1079
|
* Updates the title-specific custom data for the user which cannot be accessed by the client
|
1080
1080
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserinternaldata
|
1081
1081
|
*/
|
1082
|
-
UpdateUserInternalData(request,
|
1083
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserInternalData", request, "X-SecretKey",
|
1082
|
+
UpdateUserInternalData(request, extraHeaders) {
|
1083
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserInternalData", request, "X-SecretKey", extraHeaders);
|
1084
1084
|
}
|
1085
1085
|
/**
|
1086
1086
|
* _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
|
1087
1087
|
* version 2._ Updates the key-value pair data tagged to the specified item, which is read-only from the client.
|
1088
1088
|
* https://docs.microsoft.com/rest/api/playfab/server/player-item-management/updateuserinventoryitemcustomdata
|
1089
1089
|
*/
|
1090
|
-
UpdateUserInventoryItemCustomData(request,
|
1091
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey",
|
1090
|
+
UpdateUserInventoryItemCustomData(request, extraHeaders) {
|
1091
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserInventoryItemCustomData", request, "X-SecretKey", extraHeaders);
|
1092
1092
|
}
|
1093
1093
|
/**
|
1094
1094
|
* Updates the publisher-specific custom data for the user which is readable and writable by the client
|
1095
1095
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherdata
|
1096
1096
|
*/
|
1097
|
-
UpdateUserPublisherData(request,
|
1098
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherData", request, "X-SecretKey",
|
1097
|
+
UpdateUserPublisherData(request, extraHeaders) {
|
1098
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherData", request, "X-SecretKey", extraHeaders);
|
1099
1099
|
}
|
1100
1100
|
/**
|
1101
1101
|
* Updates the publisher-specific custom data for the user which cannot be accessed by the client
|
1102
1102
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherinternaldata
|
1103
1103
|
*/
|
1104
|
-
UpdateUserPublisherInternalData(request,
|
1105
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherInternalData", request, "X-SecretKey",
|
1104
|
+
UpdateUserPublisherInternalData(request, extraHeaders) {
|
1105
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherInternalData", request, "X-SecretKey", extraHeaders);
|
1106
1106
|
}
|
1107
1107
|
/**
|
1108
1108
|
* Updates the publisher-specific custom data for the user which can only be read by the client
|
1109
1109
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserpublisherreadonlydata
|
1110
1110
|
*/
|
1111
|
-
UpdateUserPublisherReadOnlyData(request,
|
1112
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey",
|
1111
|
+
UpdateUserPublisherReadOnlyData(request, extraHeaders) {
|
1112
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserPublisherReadOnlyData", request, "X-SecretKey", extraHeaders);
|
1113
1113
|
}
|
1114
1114
|
/**
|
1115
1115
|
* Updates the title-specific custom data for the user which can only be read by the client
|
1116
1116
|
* https://docs.microsoft.com/rest/api/playfab/server/player-data-management/updateuserreadonlydata
|
1117
1117
|
*/
|
1118
|
-
UpdateUserReadOnlyData(request,
|
1119
|
-
return this.ExecuteRequestWrapper("/Server/UpdateUserReadOnlyData", request, "X-SecretKey",
|
1118
|
+
UpdateUserReadOnlyData(request, extraHeaders) {
|
1119
|
+
return this.ExecuteRequestWrapper("/Server/UpdateUserReadOnlyData", request, "X-SecretKey", extraHeaders);
|
1120
1120
|
}
|
1121
1121
|
/**
|
1122
1122
|
* Writes a character-based event into PlayStream.
|
1123
1123
|
* https://docs.microsoft.com/rest/api/playfab/server/analytics/writecharacterevent
|
1124
1124
|
*/
|
1125
|
-
WriteCharacterEvent(request,
|
1126
|
-
return this.ExecuteRequestWrapper("/Server/WriteCharacterEvent", request, "X-SecretKey",
|
1125
|
+
WriteCharacterEvent(request, extraHeaders) {
|
1126
|
+
return this.ExecuteRequestWrapper("/Server/WriteCharacterEvent", request, "X-SecretKey", extraHeaders);
|
1127
1127
|
}
|
1128
1128
|
/**
|
1129
1129
|
* Writes a player-based event into PlayStream.
|
1130
1130
|
* https://docs.microsoft.com/rest/api/playfab/server/analytics/writeplayerevent
|
1131
1131
|
*/
|
1132
|
-
WritePlayerEvent(request,
|
1133
|
-
return this.ExecuteRequestWrapper("/Server/WritePlayerEvent", request, "X-SecretKey",
|
1132
|
+
WritePlayerEvent(request, extraHeaders) {
|
1133
|
+
return this.ExecuteRequestWrapper("/Server/WritePlayerEvent", request, "X-SecretKey", extraHeaders);
|
1134
1134
|
}
|
1135
1135
|
/**
|
1136
1136
|
* Writes a title-based event into PlayStream.
|
1137
1137
|
* https://docs.microsoft.com/rest/api/playfab/server/analytics/writetitleevent
|
1138
1138
|
*/
|
1139
|
-
WriteTitleEvent(request,
|
1140
|
-
return this.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey",
|
1139
|
+
WriteTitleEvent(request, extraHeaders) {
|
1140
|
+
return this.ExecuteRequestWrapper("/Server/WriteTitleEvent", request, "X-SecretKey", extraHeaders);
|
1141
1141
|
}
|
1142
1142
|
};
|
1143
1143
|
|
1144
1144
|
export {
|
1145
1145
|
PlayFabServerApi
|
1146
1146
|
};
|
1147
|
-
//# sourceMappingURL=chunk-
|
1147
|
+
//# sourceMappingURL=chunk-ONCBQLGS.js.map
|