@fnlb-project/fnbr 4.0.0
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/LICENSE +21 -0
- package/README.md +68 -0
- package/dist/enums/Enums.d.ts +251 -0
- package/dist/enums/Enums.js +202 -0
- package/dist/enums/Enums.js.map +1 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.js +194 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/AuthClients.d.ts +39 -0
- package/dist/resources/AuthClients.js +41 -0
- package/dist/resources/AuthClients.js.map +1 -0
- package/dist/resources/BaseItemRating.json +5203 -0
- package/dist/resources/Endpoints.d.ts +58 -0
- package/dist/resources/Endpoints.js +71 -0
- package/dist/resources/Endpoints.js.map +1 -0
- package/dist/resources/HomebaseRatingMapping.json +255 -0
- package/dist/resources/PowerLevelCurves.d.ts +111 -0
- package/dist/resources/PowerLevelCurves.js +21 -0
- package/dist/resources/PowerLevelCurves.js.map +1 -0
- package/dist/resources/SurvivorItemRating.json +9343 -0
- package/dist/resources/constants.d.ts +2 -0
- package/dist/resources/constants.js +11 -0
- package/dist/resources/constants.js.map +1 -0
- package/dist/resources/defaultPartyMemberMeta.json +28 -0
- package/dist/resources/defaultPartyMeta.json +38 -0
- package/dist/resources/enums.d.ts +12 -0
- package/dist/resources/enums.js +18 -0
- package/dist/resources/enums.js.map +1 -0
- package/dist/resources/httpResponses.d.ts +773 -0
- package/dist/resources/httpResponses.js +3 -0
- package/dist/resources/httpResponses.js.map +1 -0
- package/dist/resources/structs.d.ts +1310 -0
- package/dist/resources/structs.js +3 -0
- package/dist/resources/structs.js.map +1 -0
- package/dist/src/Base.d.ts +15 -0
- package/dist/src/Base.js +15 -0
- package/dist/src/Base.js.map +1 -0
- package/dist/src/Client.d.ts +341 -0
- package/dist/src/Client.js +1043 -0
- package/dist/src/Client.js.map +1 -0
- package/dist/src/auth/Auth.d.ts +66 -0
- package/dist/src/auth/Auth.js +249 -0
- package/dist/src/auth/Auth.js.map +1 -0
- package/dist/src/auth/AuthSession.d.ts +41 -0
- package/dist/src/auth/AuthSession.js +25 -0
- package/dist/src/auth/AuthSession.js.map +1 -0
- package/dist/src/auth/EOSAuthSession.d.ts +19 -0
- package/dist/src/auth/EOSAuthSession.js +80 -0
- package/dist/src/auth/EOSAuthSession.js.map +1 -0
- package/dist/src/auth/FortniteAuthSession.d.ts +53 -0
- package/dist/src/auth/FortniteAuthSession.js +107 -0
- package/dist/src/auth/FortniteAuthSession.js.map +1 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.d.ts +18 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.js +88 -0
- package/dist/src/auth/FortniteClientCredentialsAuthSession.js.map +1 -0
- package/dist/src/auth/LauncherAuthSession.d.ts +23 -0
- package/dist/src/auth/LauncherAuthSession.js +120 -0
- package/dist/src/auth/LauncherAuthSession.js.map +1 -0
- package/dist/src/exceptions/AuthenticationMissingError.d.ts +15 -0
- package/dist/src/exceptions/AuthenticationMissingError.js +18 -0
- package/dist/src/exceptions/AuthenticationMissingError.js.map +1 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.js +18 -0
- package/dist/src/exceptions/CreativeIslandNotFoundError.js.map +1 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.js +18 -0
- package/dist/src/exceptions/CreatorCodeNotFoundError.js.map +1 -0
- package/dist/src/exceptions/DuplicateFriendshipError.d.ts +14 -0
- package/dist/src/exceptions/DuplicateFriendshipError.js +18 -0
- package/dist/src/exceptions/DuplicateFriendshipError.js.map +1 -0
- package/dist/src/exceptions/EpicgamesAPIError.d.ts +42 -0
- package/dist/src/exceptions/EpicgamesAPIError.js +27 -0
- package/dist/src/exceptions/EpicgamesAPIError.js.map +1 -0
- package/dist/src/exceptions/EventTimeoutError.d.ts +19 -0
- package/dist/src/exceptions/EventTimeoutError.js +20 -0
- package/dist/src/exceptions/EventTimeoutError.js.map +1 -0
- package/dist/src/exceptions/FriendNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/FriendNotFoundError.js +18 -0
- package/dist/src/exceptions/FriendNotFoundError.js.map +1 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.d.ts +14 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.js +18 -0
- package/dist/src/exceptions/FriendshipRequestAlreadySentError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipRequestLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipSettingsError.js.map +1 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviteeFriendshipsLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.d.ts +14 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.js +18 -0
- package/dist/src/exceptions/InviterFriendshipsLimitExceededError.js.map +1 -0
- package/dist/src/exceptions/MatchNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/MatchNotFoundError.js +18 -0
- package/dist/src/exceptions/MatchNotFoundError.js.map +1 -0
- package/dist/src/exceptions/OfferNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/OfferNotFoundError.js +18 -0
- package/dist/src/exceptions/OfferNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.d.ts +7 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.js +14 -0
- package/dist/src/exceptions/PartyAlreadyJoinedError.js.map +1 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.d.ts +7 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.js +14 -0
- package/dist/src/exceptions/PartyInvitationExpiredError.js.map +1 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.d.ts +7 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.js +14 -0
- package/dist/src/exceptions/PartyMaxSizeReachedError.js.map +1 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.js +18 -0
- package/dist/src/exceptions/PartyMemberNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyNotFoundError.d.ts +7 -0
- package/dist/src/exceptions/PartyNotFoundError.js +14 -0
- package/dist/src/exceptions/PartyNotFoundError.js.map +1 -0
- package/dist/src/exceptions/PartyPermissionError.d.ts +7 -0
- package/dist/src/exceptions/PartyPermissionError.js +14 -0
- package/dist/src/exceptions/PartyPermissionError.js.map +1 -0
- package/dist/src/exceptions/SendMessageError.d.ts +27 -0
- package/dist/src/exceptions/SendMessageError.js +21 -0
- package/dist/src/exceptions/SendMessageError.js.map +1 -0
- package/dist/src/exceptions/StatsPrivacyError.d.ts +14 -0
- package/dist/src/exceptions/StatsPrivacyError.js +18 -0
- package/dist/src/exceptions/StatsPrivacyError.js.map +1 -0
- package/dist/src/exceptions/StompConnectionError.d.ts +14 -0
- package/dist/src/exceptions/StompConnectionError.js +18 -0
- package/dist/src/exceptions/StompConnectionError.js.map +1 -0
- package/dist/src/exceptions/UserNotFoundError.d.ts +14 -0
- package/dist/src/exceptions/UserNotFoundError.js +18 -0
- package/dist/src/exceptions/UserNotFoundError.js.map +1 -0
- package/dist/src/exceptions/XMPPConnectionError.d.ts +19 -0
- package/dist/src/exceptions/XMPPConnectionError.js +19 -0
- package/dist/src/exceptions/XMPPConnectionError.js.map +1 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.d.ts +14 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.js +18 -0
- package/dist/src/exceptions/XMPPConnectionTimeoutError.js.map +1 -0
- package/dist/src/http/HTTP.d.ts +40 -0
- package/dist/src/http/HTTP.js +124 -0
- package/dist/src/http/HTTP.js.map +1 -0
- package/dist/src/managers/ChatManager.d.ts +27 -0
- package/dist/src/managers/ChatManager.js +71 -0
- package/dist/src/managers/ChatManager.js.map +1 -0
- package/dist/src/managers/FriendManager.d.ts +66 -0
- package/dist/src/managers/FriendManager.js +175 -0
- package/dist/src/managers/FriendManager.js.map +1 -0
- package/dist/src/managers/STWManager.d.ts +29 -0
- package/dist/src/managers/STWManager.js +80 -0
- package/dist/src/managers/STWManager.js.map +1 -0
- package/dist/src/managers/TournamentManager.d.ts +51 -0
- package/dist/src/managers/TournamentManager.js +182 -0
- package/dist/src/managers/TournamentManager.js.map +1 -0
- package/dist/src/managers/UserManager.d.ts +78 -0
- package/dist/src/managers/UserManager.js +216 -0
- package/dist/src/managers/UserManager.js.map +1 -0
- package/dist/src/stomp/EOSConnect.d.ts +43 -0
- package/dist/src/stomp/EOSConnect.js +175 -0
- package/dist/src/stomp/EOSConnect.js.map +1 -0
- package/dist/src/structures/Avatar.d.ts +27 -0
- package/dist/src/structures/Avatar.js +22 -0
- package/dist/src/structures/Avatar.js.map +1 -0
- package/dist/src/structures/BaseMessage.d.ts +34 -0
- package/dist/src/structures/BaseMessage.js +22 -0
- package/dist/src/structures/BaseMessage.js.map +1 -0
- package/dist/src/structures/CreatorCode.d.ts +31 -0
- package/dist/src/structures/CreatorCode.js +22 -0
- package/dist/src/structures/CreatorCode.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatus.d.ts +52 -0
- package/dist/src/structures/EpicgamesServerStatus.js +31 -0
- package/dist/src/structures/EpicgamesServerStatus.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.d.ts +67 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.js +37 -0
- package/dist/src/structures/EpicgamesServerStatusComponent.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.d.ts +58 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.js +36 -0
- package/dist/src/structures/EpicgamesServerStatusIncident.js.map +1 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.d.ts +21 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.js +20 -0
- package/dist/src/structures/EpicgamesServerStatusScheduledMainteance.js.map +1 -0
- package/dist/src/structures/EventTokens.d.ts +32 -0
- package/dist/src/structures/EventTokens.js +45 -0
- package/dist/src/structures/EventTokens.js.map +1 -0
- package/dist/src/structures/FortniteServerStatus.d.ts +46 -0
- package/dist/src/structures/FortniteServerStatus.js +26 -0
- package/dist/src/structures/FortniteServerStatus.js.map +1 -0
- package/dist/src/structures/GlobalProfile.d.ts +36 -0
- package/dist/src/structures/GlobalProfile.js +25 -0
- package/dist/src/structures/GlobalProfile.js.map +1 -0
- package/dist/src/structures/Image.d.ts +36 -0
- package/dist/src/structures/Image.js +38 -0
- package/dist/src/structures/Image.js.map +1 -0
- package/dist/src/structures/NewsMessage.d.ts +56 -0
- package/dist/src/structures/NewsMessage.js +45 -0
- package/dist/src/structures/NewsMessage.js.map +1 -0
- package/dist/src/structures/NewsMessageVideo.d.ts +47 -0
- package/dist/src/structures/NewsMessageVideo.js +32 -0
- package/dist/src/structures/NewsMessageVideo.js.map +1 -0
- package/dist/src/structures/RadioStation.d.ts +31 -0
- package/dist/src/structures/RadioStation.js +33 -0
- package/dist/src/structures/RadioStation.js.map +1 -0
- package/dist/src/structures/Stats.d.ts +45 -0
- package/dist/src/structures/Stats.js +109 -0
- package/dist/src/structures/Stats.js.map +1 -0
- package/dist/src/structures/Tournament.d.ts +86 -0
- package/dist/src/structures/Tournament.js +64 -0
- package/dist/src/structures/Tournament.js.map +1 -0
- package/dist/src/structures/TournamentWindow.d.ts +124 -0
- package/dist/src/structures/TournamentWindow.js +52 -0
- package/dist/src/structures/TournamentWindow.js.map +1 -0
- package/dist/src/structures/friend/BaseFriendMessage.d.ts +32 -0
- package/dist/src/structures/friend/BaseFriendMessage.js +28 -0
- package/dist/src/structures/friend/BaseFriendMessage.js.map +1 -0
- package/dist/src/structures/friend/BasePendingFriend.d.ts +22 -0
- package/dist/src/structures/friend/BasePendingFriend.js +22 -0
- package/dist/src/structures/friend/BasePendingFriend.js.map +1 -0
- package/dist/src/structures/friend/Friend.d.ts +106 -0
- package/dist/src/structures/friend/Friend.js +97 -0
- package/dist/src/structures/friend/Friend.js.map +1 -0
- package/dist/src/structures/friend/FriendPresence.d.ts +84 -0
- package/dist/src/structures/friend/FriendPresence.js +48 -0
- package/dist/src/structures/friend/FriendPresence.js.map +1 -0
- package/dist/src/structures/friend/IncomingPendingFriend.d.ts +27 -0
- package/dist/src/structures/friend/IncomingPendingFriend.js +36 -0
- package/dist/src/structures/friend/IncomingPendingFriend.js.map +1 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.d.ts +17 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.js +24 -0
- package/dist/src/structures/friend/OutgoingPendingFriend.js.map +1 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.d.ts +27 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.js +27 -0
- package/dist/src/structures/friend/ReceivedFriendMessage.js.map +1 -0
- package/dist/src/structures/friend/SentFriendMessage.d.ts +21 -0
- package/dist/src/structures/friend/SentFriendMessage.js +19 -0
- package/dist/src/structures/friend/SentFriendMessage.js.map +1 -0
- package/dist/src/structures/party/BasePartyInvitation.d.ts +48 -0
- package/dist/src/structures/party/BasePartyInvitation.js +33 -0
- package/dist/src/structures/party/BasePartyInvitation.js.map +1 -0
- package/dist/src/structures/party/BasePartyJoinRequest.d.ts +37 -0
- package/dist/src/structures/party/BasePartyJoinRequest.js +30 -0
- package/dist/src/structures/party/BasePartyJoinRequest.js.map +1 -0
- package/dist/src/structures/party/ClientParty.d.ts +162 -0
- package/dist/src/structures/party/ClientParty.js +412 -0
- package/dist/src/structures/party/ClientParty.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMember.d.ts +144 -0
- package/dist/src/structures/party/ClientPartyMember.js +463 -0
- package/dist/src/structures/party/ClientPartyMember.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.d.ts +18 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.js +54 -0
- package/dist/src/structures/party/ClientPartyMemberMeta.js.map +1 -0
- package/dist/src/structures/party/ClientPartyMeta.d.ts +23 -0
- package/dist/src/structures/party/ClientPartyMeta.js +59 -0
- package/dist/src/structures/party/ClientPartyMeta.js.map +1 -0
- package/dist/src/structures/party/Party.d.ts +95 -0
- package/dist/src/structures/party/Party.js +200 -0
- package/dist/src/structures/party/Party.js.map +1 -0
- package/dist/src/structures/party/PartyChat.d.ts +73 -0
- package/dist/src/structures/party/PartyChat.js +76 -0
- package/dist/src/structures/party/PartyChat.js.map +1 -0
- package/dist/src/structures/party/PartyMember.d.ts +139 -0
- package/dist/src/structures/party/PartyMember.js +201 -0
- package/dist/src/structures/party/PartyMember.js.map +1 -0
- package/dist/src/structures/party/PartyMemberConfirmation.d.ts +43 -0
- package/dist/src/structures/party/PartyMemberConfirmation.js +53 -0
- package/dist/src/structures/party/PartyMemberConfirmation.js.map +1 -0
- package/dist/src/structures/party/PartyMemberMeta.d.ts +76 -0
- package/dist/src/structures/party/PartyMemberMeta.js +145 -0
- package/dist/src/structures/party/PartyMemberMeta.js.map +1 -0
- package/dist/src/structures/party/PartyMessage.d.ts +30 -0
- package/dist/src/structures/party/PartyMessage.js +28 -0
- package/dist/src/structures/party/PartyMessage.js.map +1 -0
- package/dist/src/structures/party/PartyMeta.d.ts +24 -0
- package/dist/src/structures/party/PartyMeta.js +43 -0
- package/dist/src/structures/party/PartyMeta.js.map +1 -0
- package/dist/src/structures/party/PresenceParty.d.ts +66 -0
- package/dist/src/structures/party/PresenceParty.js +49 -0
- package/dist/src/structures/party/PresenceParty.js.map +1 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.d.ts +33 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.js +54 -0
- package/dist/src/structures/party/ReceivedPartyInvitation.js.map +1 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.d.ts +26 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.js +31 -0
- package/dist/src/structures/party/ReceivedPartyJoinRequest.js.map +1 -0
- package/dist/src/structures/party/SentPartyInvitation.d.ts +27 -0
- package/dist/src/structures/party/SentPartyInvitation.js +39 -0
- package/dist/src/structures/party/SentPartyInvitation.js.map +1 -0
- package/dist/src/structures/party/SentPartyJoinRequest.d.ts +19 -0
- package/dist/src/structures/party/SentPartyJoinRequest.js +22 -0
- package/dist/src/structures/party/SentPartyJoinRequest.js.map +1 -0
- package/dist/src/structures/stw/STWHero.d.ts +61 -0
- package/dist/src/structures/stw/STWHero.js +38 -0
- package/dist/src/structures/stw/STWHero.js.map +1 -0
- package/dist/src/structures/stw/STWHeroLoadout.d.ts +44 -0
- package/dist/src/structures/stw/STWHeroLoadout.js +34 -0
- package/dist/src/structures/stw/STWHeroLoadout.js.map +1 -0
- package/dist/src/structures/stw/STWItem.d.ts +31 -0
- package/dist/src/structures/stw/STWItem.js +23 -0
- package/dist/src/structures/stw/STWItem.js.map +1 -0
- package/dist/src/structures/stw/STWLocker.d.ts +32 -0
- package/dist/src/structures/stw/STWLocker.js +26 -0
- package/dist/src/structures/stw/STWLocker.js.map +1 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.d.ts +14 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.js +15 -0
- package/dist/src/structures/stw/STWMeleeWeaponSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWNewsMessage.d.ts +42 -0
- package/dist/src/structures/stw/STWNewsMessage.js +27 -0
- package/dist/src/structures/stw/STWNewsMessage.js.map +1 -0
- package/dist/src/structures/stw/STWProfile.d.ts +132 -0
- package/dist/src/structures/stw/STWProfile.js +283 -0
- package/dist/src/structures/stw/STWProfile.js.map +1 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.d.ts +14 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.js +15 -0
- package/dist/src/structures/stw/STWRangedWeaponSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWResource.d.ts +27 -0
- package/dist/src/structures/stw/STWResource.js +22 -0
- package/dist/src/structures/stw/STWResource.js.map +1 -0
- package/dist/src/structures/stw/STWSchematic.d.ts +72 -0
- package/dist/src/structures/stw/STWSchematic.js +40 -0
- package/dist/src/structures/stw/STWSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWStats.d.ts +103 -0
- package/dist/src/structures/stw/STWStats.js +85 -0
- package/dist/src/structures/stw/STWStats.js.map +1 -0
- package/dist/src/structures/stw/STWSurvivor.d.ts +104 -0
- package/dist/src/structures/stw/STWSurvivor.js +76 -0
- package/dist/src/structures/stw/STWSurvivor.js.map +1 -0
- package/dist/src/structures/stw/STWTeamPerk.d.ts +19 -0
- package/dist/src/structures/stw/STWTeamPerk.js +20 -0
- package/dist/src/structures/stw/STWTeamPerk.js.map +1 -0
- package/dist/src/structures/stw/STWTrapSchematic.d.ts +15 -0
- package/dist/src/structures/stw/STWTrapSchematic.js +16 -0
- package/dist/src/structures/stw/STWTrapSchematic.js.map +1 -0
- package/dist/src/structures/stw/STWWeaponSchematic.d.ts +15 -0
- package/dist/src/structures/stw/STWWeaponSchematic.js +16 -0
- package/dist/src/structures/stw/STWWeaponSchematic.js.map +1 -0
- package/dist/src/structures/user/BlockedUser.d.ts +13 -0
- package/dist/src/structures/user/BlockedUser.js +19 -0
- package/dist/src/structures/user/BlockedUser.js.map +1 -0
- package/dist/src/structures/user/ClientUser.d.ts +78 -0
- package/dist/src/structures/user/ClientUser.js +34 -0
- package/dist/src/structures/user/ClientUser.js.map +1 -0
- package/dist/src/structures/user/User.d.ts +98 -0
- package/dist/src/structures/user/User.js +130 -0
- package/dist/src/structures/user/User.js.map +1 -0
- package/dist/src/structures/user/UserSearchResult.d.ts +31 -0
- package/dist/src/structures/user/UserSearchResult.js +23 -0
- package/dist/src/structures/user/UserSearchResult.js.map +1 -0
- package/dist/src/util/AsyncLock.d.ts +28 -0
- package/dist/src/util/AsyncLock.js +44 -0
- package/dist/src/util/AsyncLock.js.map +1 -0
- package/dist/src/util/BinaryWriter.d.ts +79 -0
- package/dist/src/util/BinaryWriter.js +136 -0
- package/dist/src/util/BinaryWriter.js.map +1 -0
- package/dist/src/util/CurveTable.d.ts +24 -0
- package/dist/src/util/CurveTable.js +37 -0
- package/dist/src/util/CurveTable.js.map +1 -0
- package/dist/src/util/Meta.d.ts +41 -0
- package/dist/src/util/Meta.js +73 -0
- package/dist/src/util/Meta.js.map +1 -0
- package/dist/src/util/Util.d.ts +162 -0
- package/dist/src/util/Util.js +539 -0
- package/dist/src/util/Util.js.map +1 -0
- package/dist/src/xmpp/XMPP.d.ts +100 -0
- package/dist/src/xmpp/XMPP.js +702 -0
- package/dist/src/xmpp/XMPP.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,773 @@
|
|
|
1
|
+
import type { FullPlatform, Region, STWSchematicAlterationRarity } from './structs';
|
|
2
|
+
export interface EpicgamesAPIErrorData {
|
|
3
|
+
errorCode: string;
|
|
4
|
+
errorMessage: string;
|
|
5
|
+
messageVars: string[];
|
|
6
|
+
numericErrorCode: number;
|
|
7
|
+
originatingService: string;
|
|
8
|
+
intent: string;
|
|
9
|
+
error_description: string;
|
|
10
|
+
error: string;
|
|
11
|
+
errorStatus?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface EpicgamesOAuthData {
|
|
14
|
+
access_token: string;
|
|
15
|
+
expires_in: number;
|
|
16
|
+
expires_at: string;
|
|
17
|
+
token_type: string;
|
|
18
|
+
refresh_token: string;
|
|
19
|
+
refresh_expires: number;
|
|
20
|
+
refresh_expires_at: string;
|
|
21
|
+
account_id: string;
|
|
22
|
+
client_id: string;
|
|
23
|
+
internal_client: boolean;
|
|
24
|
+
client_service: string;
|
|
25
|
+
displayName: string;
|
|
26
|
+
app: string;
|
|
27
|
+
in_app_id: string;
|
|
28
|
+
device_id: string;
|
|
29
|
+
}
|
|
30
|
+
export type PlatformMappings = {
|
|
31
|
+
[key in FullPlatform]?: string;
|
|
32
|
+
};
|
|
33
|
+
export type RegionMappings = {
|
|
34
|
+
[key in Region]?: string;
|
|
35
|
+
};
|
|
36
|
+
export interface TournamentMetadata {
|
|
37
|
+
minimumAccountLevel: number;
|
|
38
|
+
pool: string;
|
|
39
|
+
AccountLockType: string;
|
|
40
|
+
TeamLockType: string;
|
|
41
|
+
DisqualifyType: string;
|
|
42
|
+
RegionLockType: string;
|
|
43
|
+
}
|
|
44
|
+
export interface TournamentWindowBlackoutPeriod {
|
|
45
|
+
beginTime: string;
|
|
46
|
+
endTime: string;
|
|
47
|
+
recurrence: string;
|
|
48
|
+
}
|
|
49
|
+
export interface TournamentWindowScoreLocation {
|
|
50
|
+
scoreMode: string;
|
|
51
|
+
scoreId: string;
|
|
52
|
+
leaderboardId: string;
|
|
53
|
+
useIndividualScores?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface TournamentWindowMetadata {
|
|
56
|
+
RoundType: string;
|
|
57
|
+
ThresholdToAdvanceDivision: number;
|
|
58
|
+
divisionRank: number;
|
|
59
|
+
ServerReplays?: boolean;
|
|
60
|
+
ScheduledMatchmakingInitialDelaySeconds?: number;
|
|
61
|
+
SubgroupId: string;
|
|
62
|
+
ScheduledMatchmakingMatchDelaySeconds?: number;
|
|
63
|
+
liveSpectateAccessToken: string;
|
|
64
|
+
}
|
|
65
|
+
export interface TournamentWindowData {
|
|
66
|
+
eventWindowId: string;
|
|
67
|
+
eventTemplateId: string;
|
|
68
|
+
countdownBeginTime: string;
|
|
69
|
+
beginTime: string;
|
|
70
|
+
endTime: string;
|
|
71
|
+
blackoutPeriods: TournamentWindowBlackoutPeriod[];
|
|
72
|
+
round: number;
|
|
73
|
+
payoutDelay: number;
|
|
74
|
+
isTBD: boolean;
|
|
75
|
+
canLiveSpectate: boolean;
|
|
76
|
+
scoreLocations: TournamentWindowScoreLocation[];
|
|
77
|
+
visibility: string;
|
|
78
|
+
requireAllTokens: string[];
|
|
79
|
+
requireAnyTokens: string[];
|
|
80
|
+
requireNoneTokensCaller: string[];
|
|
81
|
+
requireAllTokensCaller: any[];
|
|
82
|
+
requireAnyTokensCaller: any[];
|
|
83
|
+
additionalRequirements: string[];
|
|
84
|
+
teammateEligibility: string;
|
|
85
|
+
metadata: TournamentWindowMetadata;
|
|
86
|
+
}
|
|
87
|
+
export interface TournamentData {
|
|
88
|
+
gameId: string;
|
|
89
|
+
eventId: string;
|
|
90
|
+
regions: Region[];
|
|
91
|
+
regionMappings: RegionMappings;
|
|
92
|
+
platforms: FullPlatform[];
|
|
93
|
+
platformMappings: PlatformMappings;
|
|
94
|
+
displayDataId: string;
|
|
95
|
+
eventGroup: string;
|
|
96
|
+
announcementTime: string;
|
|
97
|
+
appId?: any;
|
|
98
|
+
environment?: any;
|
|
99
|
+
metadata: TournamentMetadata;
|
|
100
|
+
eventWindows: TournamentWindowData[];
|
|
101
|
+
beginTime: string;
|
|
102
|
+
endTime: string;
|
|
103
|
+
}
|
|
104
|
+
export interface TournamentDisplayData {
|
|
105
|
+
title_color: string;
|
|
106
|
+
loading_screen_image: string;
|
|
107
|
+
background_text_color: string;
|
|
108
|
+
background_right_color: string;
|
|
109
|
+
poster_back_image: string;
|
|
110
|
+
_type: string;
|
|
111
|
+
pin_earned_text: string;
|
|
112
|
+
tournament_display_id: string;
|
|
113
|
+
schedule_info: string;
|
|
114
|
+
primary_color: string;
|
|
115
|
+
flavor_description: string;
|
|
116
|
+
poster_front_image: string;
|
|
117
|
+
short_format_title: string;
|
|
118
|
+
title_line_2: string;
|
|
119
|
+
title_line_1: string;
|
|
120
|
+
shadow_color: string;
|
|
121
|
+
details_description: string;
|
|
122
|
+
background_left_color: string;
|
|
123
|
+
long_format_title: string;
|
|
124
|
+
poster_fade_color: string;
|
|
125
|
+
secondary_color: string;
|
|
126
|
+
playlist_tile_image: string;
|
|
127
|
+
base_color: string;
|
|
128
|
+
highlight_color: string;
|
|
129
|
+
background_title: string;
|
|
130
|
+
pin_score_requirement?: number;
|
|
131
|
+
}
|
|
132
|
+
export interface TournamentWindowTemplatePayoutTable {
|
|
133
|
+
scoreId: string;
|
|
134
|
+
scoringType: string;
|
|
135
|
+
ranks: {
|
|
136
|
+
threshold: number;
|
|
137
|
+
payouts: {
|
|
138
|
+
rewardType: string;
|
|
139
|
+
rewardMode: string;
|
|
140
|
+
value: string;
|
|
141
|
+
quantity: number;
|
|
142
|
+
}[];
|
|
143
|
+
}[];
|
|
144
|
+
}
|
|
145
|
+
export interface TournamentWindowTemplateTiebreakFormula {
|
|
146
|
+
basePointsBits: number;
|
|
147
|
+
components: {
|
|
148
|
+
trackedStat: string;
|
|
149
|
+
bits: number;
|
|
150
|
+
multiplier?: number;
|
|
151
|
+
aggregation: string;
|
|
152
|
+
}[];
|
|
153
|
+
}
|
|
154
|
+
export interface TournamentWindowTemplateScoringRule {
|
|
155
|
+
trackedStat: string;
|
|
156
|
+
matchRule: string;
|
|
157
|
+
rewardTiers: {
|
|
158
|
+
keyValue: number;
|
|
159
|
+
pointsEarned: number;
|
|
160
|
+
multiplicative: boolean;
|
|
161
|
+
}[];
|
|
162
|
+
}
|
|
163
|
+
export interface TournamentWindowTemplateData {
|
|
164
|
+
gameId: string;
|
|
165
|
+
eventTemplateId: string;
|
|
166
|
+
playlistId: string;
|
|
167
|
+
matchCap: number;
|
|
168
|
+
liveSessionAttributes: string[];
|
|
169
|
+
scoringRules: TournamentWindowTemplateScoringRule[];
|
|
170
|
+
tiebreakerFormula: TournamentWindowTemplateTiebreakFormula;
|
|
171
|
+
payoutTable: TournamentWindowTemplatePayoutTable[];
|
|
172
|
+
}
|
|
173
|
+
export interface TournamentWindowResults {
|
|
174
|
+
gameId: string;
|
|
175
|
+
eventId: string;
|
|
176
|
+
eventWindowId: string;
|
|
177
|
+
page: number;
|
|
178
|
+
totalPages: number;
|
|
179
|
+
updatedTime: string;
|
|
180
|
+
entries: {
|
|
181
|
+
gameId: string;
|
|
182
|
+
eventId: string;
|
|
183
|
+
eventWindowId: string;
|
|
184
|
+
teamAccountIds: string[];
|
|
185
|
+
liveSessionId?: string;
|
|
186
|
+
pointsEarned: number;
|
|
187
|
+
score: number;
|
|
188
|
+
rank: number;
|
|
189
|
+
percentile: number;
|
|
190
|
+
pointBreakdown: {
|
|
191
|
+
[statIndex: string]: {
|
|
192
|
+
timesAchieved: number;
|
|
193
|
+
pointsEarned: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
sessionHistory: {
|
|
197
|
+
sessionId: string;
|
|
198
|
+
endTime: string;
|
|
199
|
+
trackedStats: {
|
|
200
|
+
PLACEMENT_STAT_INDEX: number;
|
|
201
|
+
TIME_ALIVE_STAT: number;
|
|
202
|
+
TEAM_ELIMS_STAT_INDEX: number;
|
|
203
|
+
MATCH_PLAYED_STAT: number;
|
|
204
|
+
PLACEMENT_TIEBREAKER_STAT: number;
|
|
205
|
+
VICTORY_ROYALE_STAT: number;
|
|
206
|
+
};
|
|
207
|
+
}[];
|
|
208
|
+
tokens: string[];
|
|
209
|
+
teamId: string;
|
|
210
|
+
}[];
|
|
211
|
+
liveSessions: any;
|
|
212
|
+
}
|
|
213
|
+
export interface BlurlStreamMasterPlaylistData {
|
|
214
|
+
type: 'master';
|
|
215
|
+
language: string;
|
|
216
|
+
url: string;
|
|
217
|
+
data: string;
|
|
218
|
+
duration?: number;
|
|
219
|
+
}
|
|
220
|
+
export interface BlurlStreamVariantPlaylistData {
|
|
221
|
+
type: 'variant';
|
|
222
|
+
rel_url: string;
|
|
223
|
+
data: string;
|
|
224
|
+
}
|
|
225
|
+
export interface BlurlStreamData {
|
|
226
|
+
playlists: (BlurlStreamMasterPlaylistData | BlurlStreamVariantPlaylistData)[];
|
|
227
|
+
subtitles: string;
|
|
228
|
+
ucp?: string;
|
|
229
|
+
audioonly?: boolean;
|
|
230
|
+
aspectratio?: string;
|
|
231
|
+
partysync?: boolean;
|
|
232
|
+
lrcs: string;
|
|
233
|
+
duration?: number;
|
|
234
|
+
}
|
|
235
|
+
export interface CreativeIslandData {
|
|
236
|
+
namespace: string;
|
|
237
|
+
accountId: string;
|
|
238
|
+
creatorName: string;
|
|
239
|
+
mnemonic: string;
|
|
240
|
+
linkType: string;
|
|
241
|
+
metadata: {
|
|
242
|
+
mode: string;
|
|
243
|
+
quicksilver_id: string;
|
|
244
|
+
image_url: string;
|
|
245
|
+
tagline: string;
|
|
246
|
+
islandType: string;
|
|
247
|
+
title: string;
|
|
248
|
+
locale: string;
|
|
249
|
+
matchmaking: {
|
|
250
|
+
selectedJoinInProgressType: number;
|
|
251
|
+
playersPerTeam: number;
|
|
252
|
+
maximumNumberOfPlayers: number;
|
|
253
|
+
override_Playlist: string;
|
|
254
|
+
playerCount: number;
|
|
255
|
+
mmsType: string;
|
|
256
|
+
mmsPrivacy: string;
|
|
257
|
+
numberOfTeams: number;
|
|
258
|
+
bAllowJoinInProgress: boolean;
|
|
259
|
+
minimumNumberOfPlayers: number;
|
|
260
|
+
joinInProgressTeam: number;
|
|
261
|
+
};
|
|
262
|
+
supportCode: string;
|
|
263
|
+
introduction: string;
|
|
264
|
+
generated_image_urls: {
|
|
265
|
+
url_s: string;
|
|
266
|
+
url_m: string;
|
|
267
|
+
compressed: {
|
|
268
|
+
url_s: string;
|
|
269
|
+
url_m: string;
|
|
270
|
+
url: string;
|
|
271
|
+
};
|
|
272
|
+
url: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
version: number;
|
|
276
|
+
active: boolean;
|
|
277
|
+
disabled: boolean;
|
|
278
|
+
created: string;
|
|
279
|
+
published: string;
|
|
280
|
+
descriptionTags: string[];
|
|
281
|
+
moderationStatus: string;
|
|
282
|
+
}
|
|
283
|
+
export interface CreativeDiscoveryPanel {
|
|
284
|
+
PanelName: string;
|
|
285
|
+
Pages: {
|
|
286
|
+
results: {
|
|
287
|
+
linkData: CreativeIslandData;
|
|
288
|
+
isFavorite: boolean;
|
|
289
|
+
}[];
|
|
290
|
+
hasMore: boolean;
|
|
291
|
+
}[];
|
|
292
|
+
}
|
|
293
|
+
export interface STWProfileItemData {
|
|
294
|
+
templateId: string;
|
|
295
|
+
attributes: {
|
|
296
|
+
[key: string]: any;
|
|
297
|
+
};
|
|
298
|
+
quantity: number;
|
|
299
|
+
}
|
|
300
|
+
export interface STWProfileSurvivorData extends STWProfileItemData {
|
|
301
|
+
attributes: {
|
|
302
|
+
gender: '1' | '2';
|
|
303
|
+
level: number;
|
|
304
|
+
squad_slot_idx: number;
|
|
305
|
+
item_seen: boolean;
|
|
306
|
+
managerSynergy?: string;
|
|
307
|
+
portrait?: string;
|
|
308
|
+
max_level_bonus: number;
|
|
309
|
+
personality: string;
|
|
310
|
+
squad_id: string;
|
|
311
|
+
xp: number;
|
|
312
|
+
slotted_building_id: string;
|
|
313
|
+
building_slot_used: number;
|
|
314
|
+
favorite: boolean;
|
|
315
|
+
set_bonus: string;
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
export interface STWProfileLockerSlotData {
|
|
319
|
+
items: string[];
|
|
320
|
+
activeVariants: string[];
|
|
321
|
+
}
|
|
322
|
+
export interface STWProfileLockerData extends STWProfileItemData {
|
|
323
|
+
attributes: {
|
|
324
|
+
locker_slots_data: {
|
|
325
|
+
slots: {
|
|
326
|
+
Pickaxe: STWProfileLockerSlotData;
|
|
327
|
+
MusicPack?: STWProfileLockerSlotData;
|
|
328
|
+
Character?: STWProfileLockerSlotData;
|
|
329
|
+
ItemWrap: STWProfileLockerSlotData;
|
|
330
|
+
Backpack: STWProfileLockerSlotData;
|
|
331
|
+
Dance: STWProfileLockerSlotData;
|
|
332
|
+
LoadingScreen: STWProfileLockerSlotData;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
use_count: number;
|
|
336
|
+
banner_icon_template: string;
|
|
337
|
+
banner_color_template: string;
|
|
338
|
+
locker_name: string;
|
|
339
|
+
item_seen: boolean;
|
|
340
|
+
favorite: boolean;
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
export interface STWProfileResourceData extends STWProfileItemData {
|
|
344
|
+
attributes: {
|
|
345
|
+
max_level_bonus: number;
|
|
346
|
+
level: number;
|
|
347
|
+
item_seen: boolean;
|
|
348
|
+
xp: number;
|
|
349
|
+
favorite: boolean;
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export interface STWProfileHeroVariantData {
|
|
353
|
+
channel: string;
|
|
354
|
+
active: string;
|
|
355
|
+
}
|
|
356
|
+
export interface STWProfileHeroData extends STWProfileItemData {
|
|
357
|
+
attributes: {
|
|
358
|
+
outfitvariants: STWProfileHeroVariantData[];
|
|
359
|
+
backblingvariants: STWProfileHeroVariantData[];
|
|
360
|
+
gender: 0;
|
|
361
|
+
level: number;
|
|
362
|
+
item_seen: boolean;
|
|
363
|
+
squad_slot_idx: number;
|
|
364
|
+
portrait: string;
|
|
365
|
+
hero_name: string;
|
|
366
|
+
max_level_bonus: number;
|
|
367
|
+
squad_id: string;
|
|
368
|
+
mode_loadouts: [];
|
|
369
|
+
xp: number;
|
|
370
|
+
slotted_building_id: string;
|
|
371
|
+
refundable: boolean;
|
|
372
|
+
favorite: boolean;
|
|
373
|
+
building_slot_used: number;
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
export interface STWProfileHeroLoadoutData extends STWProfileItemData {
|
|
377
|
+
attributes: {
|
|
378
|
+
team_perk?: string;
|
|
379
|
+
loadout_name: string;
|
|
380
|
+
crew_members: {
|
|
381
|
+
commanderslot: string;
|
|
382
|
+
followerslot1?: string;
|
|
383
|
+
followerslot2?: string;
|
|
384
|
+
followerslot3?: string;
|
|
385
|
+
followerslot4?: string;
|
|
386
|
+
followerslot5?: string;
|
|
387
|
+
leaderslot?: string;
|
|
388
|
+
};
|
|
389
|
+
loadout_index: number;
|
|
390
|
+
gadgets: {
|
|
391
|
+
gadget: string;
|
|
392
|
+
slot_index: number;
|
|
393
|
+
}[];
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
export interface STWProfileSchematicData extends STWProfileItemData {
|
|
397
|
+
attributes: {
|
|
398
|
+
legacy_alterations: unknown[];
|
|
399
|
+
max_level_bonus: number;
|
|
400
|
+
refund_legacy_item: boolean;
|
|
401
|
+
level: number;
|
|
402
|
+
item_seen: boolean;
|
|
403
|
+
alterations: string[];
|
|
404
|
+
xp: number;
|
|
405
|
+
refundable: boolean;
|
|
406
|
+
alteration_base_rarities: STWSchematicAlterationRarity[];
|
|
407
|
+
favorite: boolean;
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
export interface STWProfileStatsData {
|
|
411
|
+
node_costs: Partial<{
|
|
412
|
+
homebase_node_default_page: {
|
|
413
|
+
'Token:homebasepoints': number;
|
|
414
|
+
};
|
|
415
|
+
research_node_default_page: {
|
|
416
|
+
'Token:homebasepoints': number;
|
|
417
|
+
};
|
|
418
|
+
}>;
|
|
419
|
+
use_random_loadout: boolean;
|
|
420
|
+
mission_alert_redemption_record: Partial<{
|
|
421
|
+
claimData: {
|
|
422
|
+
missionAlertId: string;
|
|
423
|
+
redemptionDateUtc: string;
|
|
424
|
+
evictClaimDataAfterUtc: string;
|
|
425
|
+
}[];
|
|
426
|
+
}>;
|
|
427
|
+
rewards_claimed_post_max_level: number;
|
|
428
|
+
selected_hero_loadout: string;
|
|
429
|
+
loadouts: string[];
|
|
430
|
+
collection_book: Partial<{
|
|
431
|
+
maxBookXpLevelAchieved: number;
|
|
432
|
+
}>;
|
|
433
|
+
mfa_reward_claimed: boolean;
|
|
434
|
+
quest_manager: Partial<{
|
|
435
|
+
dailyLoginInterval: string;
|
|
436
|
+
dailyQuestRerolls: number;
|
|
437
|
+
questPoolStats: {
|
|
438
|
+
poolStats: {
|
|
439
|
+
poolName: string;
|
|
440
|
+
nextRefresh: string;
|
|
441
|
+
rerollsRemaining: number;
|
|
442
|
+
questHistory: string[];
|
|
443
|
+
}[];
|
|
444
|
+
dailyLoginInterval: string;
|
|
445
|
+
poolLockouts: {
|
|
446
|
+
poolLockouts: {
|
|
447
|
+
lockoutName: string;
|
|
448
|
+
}[];
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
}>;
|
|
452
|
+
legacy_research_points_spent: number;
|
|
453
|
+
gameplay_stats: {
|
|
454
|
+
statName: string;
|
|
455
|
+
statValue: number;
|
|
456
|
+
}[];
|
|
457
|
+
permissions: any[];
|
|
458
|
+
unslot_mtx_spend: number;
|
|
459
|
+
twitch: any;
|
|
460
|
+
client_settings: Partial<{
|
|
461
|
+
pinnedQuestInstances: any[];
|
|
462
|
+
}>;
|
|
463
|
+
research_levels: Partial<{
|
|
464
|
+
technology: number;
|
|
465
|
+
offense: number;
|
|
466
|
+
fortitude: number;
|
|
467
|
+
resistance: number;
|
|
468
|
+
}>;
|
|
469
|
+
level: number;
|
|
470
|
+
xp_overflow: number;
|
|
471
|
+
latent_xp_marker: string;
|
|
472
|
+
event_currency?: {
|
|
473
|
+
templateId: string;
|
|
474
|
+
cf: number;
|
|
475
|
+
};
|
|
476
|
+
inventory_limit_bonus: number;
|
|
477
|
+
matches_played: number;
|
|
478
|
+
xp_lost: number;
|
|
479
|
+
mode_loadouts: any[];
|
|
480
|
+
last_applied_loadout: string;
|
|
481
|
+
daily_rewards: Partial<{
|
|
482
|
+
nextDefaultReward: number;
|
|
483
|
+
totalDaysLoggedIn: number;
|
|
484
|
+
lastClaimDate: string;
|
|
485
|
+
additionalSchedules: {
|
|
486
|
+
[key: string]: {
|
|
487
|
+
rewardsClaimed: number;
|
|
488
|
+
claimedToday: boolean;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
}>;
|
|
492
|
+
xp: number;
|
|
493
|
+
packs_granted: number;
|
|
494
|
+
active_loadout_index: number;
|
|
495
|
+
}
|
|
496
|
+
export interface STWProfileData {
|
|
497
|
+
_id: string;
|
|
498
|
+
created: string;
|
|
499
|
+
updated: string;
|
|
500
|
+
rvn: number;
|
|
501
|
+
wipeNumber: number;
|
|
502
|
+
accountId: string;
|
|
503
|
+
profileId: string;
|
|
504
|
+
version: string;
|
|
505
|
+
items: {
|
|
506
|
+
[key: string]: STWProfileItemData;
|
|
507
|
+
};
|
|
508
|
+
stats: {
|
|
509
|
+
attributes: STWProfileStatsData;
|
|
510
|
+
};
|
|
511
|
+
commandRevision: number;
|
|
512
|
+
}
|
|
513
|
+
export interface RawStatsData {
|
|
514
|
+
accountId: string;
|
|
515
|
+
startTime: number;
|
|
516
|
+
endTime: number;
|
|
517
|
+
stats: {
|
|
518
|
+
[key: string]: number;
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
export type STWTheaterLocaleData = string;
|
|
522
|
+
export interface STWTheaterDataRequirements {
|
|
523
|
+
commanderLevel: number;
|
|
524
|
+
personalPowerRating: number;
|
|
525
|
+
maxPersonalPowerRating: number;
|
|
526
|
+
partyPowerRating: number;
|
|
527
|
+
maxPartyPowerRating: number;
|
|
528
|
+
activeQuestDefinitions: string[];
|
|
529
|
+
questDefinition: string;
|
|
530
|
+
objectiveStatHandle: {
|
|
531
|
+
dataTable: string;
|
|
532
|
+
rowName: string;
|
|
533
|
+
};
|
|
534
|
+
uncompletedQuestDefinition: string;
|
|
535
|
+
itemDefinition: string;
|
|
536
|
+
eventFlag: string;
|
|
537
|
+
}
|
|
538
|
+
export interface STWTheaterColorData {
|
|
539
|
+
specifiedColor: {
|
|
540
|
+
r: number;
|
|
541
|
+
g: number;
|
|
542
|
+
b: number;
|
|
543
|
+
a: number;
|
|
544
|
+
};
|
|
545
|
+
colorUseRule: string;
|
|
546
|
+
}
|
|
547
|
+
export interface STWTheaterBrushData {
|
|
548
|
+
imageSize: {
|
|
549
|
+
x: number;
|
|
550
|
+
y: number;
|
|
551
|
+
};
|
|
552
|
+
margin: {
|
|
553
|
+
left: number;
|
|
554
|
+
top: number;
|
|
555
|
+
right: number;
|
|
556
|
+
bottom: number;
|
|
557
|
+
};
|
|
558
|
+
tintColor: STWTheaterColorData;
|
|
559
|
+
outlineSettings: {
|
|
560
|
+
cornerRadii: {
|
|
561
|
+
x: number;
|
|
562
|
+
y: number;
|
|
563
|
+
z: number;
|
|
564
|
+
w: number;
|
|
565
|
+
};
|
|
566
|
+
color: STWTheaterColorData;
|
|
567
|
+
width: number;
|
|
568
|
+
roundingType: string;
|
|
569
|
+
};
|
|
570
|
+
resourceObject: string;
|
|
571
|
+
resourceName: string;
|
|
572
|
+
uVRegion: {
|
|
573
|
+
min: {
|
|
574
|
+
x: number;
|
|
575
|
+
y: number;
|
|
576
|
+
};
|
|
577
|
+
max: {
|
|
578
|
+
x: number;
|
|
579
|
+
y: number;
|
|
580
|
+
};
|
|
581
|
+
bIsValid: number;
|
|
582
|
+
};
|
|
583
|
+
drawAs: string;
|
|
584
|
+
tiling: string;
|
|
585
|
+
mirroring: string;
|
|
586
|
+
imageType: string;
|
|
587
|
+
bIsDynamicallyLoaded: boolean;
|
|
588
|
+
}
|
|
589
|
+
export interface STWTheaterData {
|
|
590
|
+
displayName: STWTheaterLocaleData;
|
|
591
|
+
uniqueId: string;
|
|
592
|
+
theaterSlot: number;
|
|
593
|
+
bIsTestTheater: boolean;
|
|
594
|
+
bHideLikeTestTheater: boolean;
|
|
595
|
+
requiredEventFlag: string;
|
|
596
|
+
missionRewardNamedWeightsRowName: string;
|
|
597
|
+
description: STWTheaterLocaleData;
|
|
598
|
+
runtimeInfo: {
|
|
599
|
+
theaterType: string;
|
|
600
|
+
theaterTags: {
|
|
601
|
+
gameplayTags: {
|
|
602
|
+
tagName: string;
|
|
603
|
+
}[];
|
|
604
|
+
};
|
|
605
|
+
eventDependentTheaterTags: {
|
|
606
|
+
requiredEventFlag: string;
|
|
607
|
+
relatedTag: {
|
|
608
|
+
tagName: string;
|
|
609
|
+
};
|
|
610
|
+
}[];
|
|
611
|
+
theaterVisibilityRequirements: STWTheaterDataRequirements;
|
|
612
|
+
requirements: STWTheaterDataRequirements;
|
|
613
|
+
requiredSubGameForVisibility: string;
|
|
614
|
+
bOnlyMatchLinkedQuestsToTiles: boolean;
|
|
615
|
+
worldMapPinClass: string;
|
|
616
|
+
theaterImage: string;
|
|
617
|
+
theaterImages: {
|
|
618
|
+
brush_XXS: STWTheaterBrushData;
|
|
619
|
+
brush_XS: STWTheaterBrushData;
|
|
620
|
+
brush_S: STWTheaterBrushData;
|
|
621
|
+
brush_M: STWTheaterBrushData;
|
|
622
|
+
brush_L: STWTheaterBrushData;
|
|
623
|
+
brush_XL: STWTheaterBrushData;
|
|
624
|
+
};
|
|
625
|
+
theaterColorInfo: {
|
|
626
|
+
bUseDifficultyToDetermineColor: boolean;
|
|
627
|
+
color: STWTheaterColorData;
|
|
628
|
+
};
|
|
629
|
+
socket: string;
|
|
630
|
+
missionAlertRequirements: STWTheaterDataRequirements;
|
|
631
|
+
missionAlertCategoryRequirements: {
|
|
632
|
+
missionAlertCategoryName: string;
|
|
633
|
+
bRespectTileRequirements: boolean;
|
|
634
|
+
bAllowQuickplay: boolean;
|
|
635
|
+
}[];
|
|
636
|
+
gameplayModifierList: any[];
|
|
637
|
+
};
|
|
638
|
+
tiles: {
|
|
639
|
+
tileType: string;
|
|
640
|
+
zoneTheme: string;
|
|
641
|
+
requirements: STWTheaterDataRequirements;
|
|
642
|
+
linkedQuests: {
|
|
643
|
+
questDefinition: string;
|
|
644
|
+
objectiveStatHandle: {
|
|
645
|
+
dataTable: string;
|
|
646
|
+
rowName: string;
|
|
647
|
+
};
|
|
648
|
+
}[];
|
|
649
|
+
xCoordinate: number;
|
|
650
|
+
yCoordinate: number;
|
|
651
|
+
missionWeightOverrides: {
|
|
652
|
+
weight: number;
|
|
653
|
+
missionGenerator: string;
|
|
654
|
+
}[];
|
|
655
|
+
difficultyWeightOverrides: {
|
|
656
|
+
weight: number;
|
|
657
|
+
difficultyInfo: {
|
|
658
|
+
dataTable: string;
|
|
659
|
+
rowName: string;
|
|
660
|
+
};
|
|
661
|
+
}[];
|
|
662
|
+
canBeMissionAlert: boolean;
|
|
663
|
+
tileTags: {
|
|
664
|
+
gameplayTags: {
|
|
665
|
+
tagName: string;
|
|
666
|
+
}[];
|
|
667
|
+
};
|
|
668
|
+
bDisallowQuickplay: boolean;
|
|
669
|
+
}[];
|
|
670
|
+
regions: {
|
|
671
|
+
displayName: STWTheaterLocaleData;
|
|
672
|
+
uniqueId: string;
|
|
673
|
+
regionTags: {
|
|
674
|
+
gameplayTags: {
|
|
675
|
+
tagName: string;
|
|
676
|
+
}[];
|
|
677
|
+
};
|
|
678
|
+
tileIndices: number[];
|
|
679
|
+
regionThemeIcon: string;
|
|
680
|
+
missionData: {
|
|
681
|
+
missionWeights: {
|
|
682
|
+
weight: number;
|
|
683
|
+
missionGenerator: string;
|
|
684
|
+
}[];
|
|
685
|
+
difficultyWeights: {
|
|
686
|
+
weight: number;
|
|
687
|
+
difficultyInfo: {
|
|
688
|
+
dataTable: string;
|
|
689
|
+
rowName: string;
|
|
690
|
+
};
|
|
691
|
+
}[];
|
|
692
|
+
numMissionsAvailable: number;
|
|
693
|
+
numMissionsToChange: number;
|
|
694
|
+
missionChangeFrequency: number;
|
|
695
|
+
};
|
|
696
|
+
requirements: STWTheaterDataRequirements;
|
|
697
|
+
missionAlertRequirements: {
|
|
698
|
+
categoryName: string;
|
|
699
|
+
requirements: STWTheaterDataRequirements;
|
|
700
|
+
}[];
|
|
701
|
+
}[];
|
|
702
|
+
}
|
|
703
|
+
export interface STWMissionItem {
|
|
704
|
+
itemType: string;
|
|
705
|
+
quantity: number;
|
|
706
|
+
}
|
|
707
|
+
export interface STWMissionTierGroup {
|
|
708
|
+
tierGroupName: string;
|
|
709
|
+
items: STWMissionItem[];
|
|
710
|
+
}
|
|
711
|
+
export interface STWMissionOverrideMissionRewards {
|
|
712
|
+
Endurance: STWMissionTierGroup;
|
|
713
|
+
Wargames: STWMissionTierGroup;
|
|
714
|
+
}
|
|
715
|
+
export interface STWMissionMissionDifficultyInfo {
|
|
716
|
+
dataTable: string;
|
|
717
|
+
rowName: string;
|
|
718
|
+
}
|
|
719
|
+
export interface STWMissionAvailableMission {
|
|
720
|
+
missionGuid: string;
|
|
721
|
+
missionRewards: STWMissionTierGroup;
|
|
722
|
+
overrideMissionRewards: STWMissionOverrideMissionRewards;
|
|
723
|
+
missionGenerator: string;
|
|
724
|
+
missionDifficultyInfo: STWMissionMissionDifficultyInfo;
|
|
725
|
+
tileIndex: number;
|
|
726
|
+
availableUntil: Date;
|
|
727
|
+
bonusMissionRewards: STWMissionTierGroup;
|
|
728
|
+
}
|
|
729
|
+
export interface STWMissionData {
|
|
730
|
+
theaterId: string;
|
|
731
|
+
availableMissions: STWMissionAvailableMission[];
|
|
732
|
+
nextRefresh: string;
|
|
733
|
+
}
|
|
734
|
+
export interface STWMissionAlertAlteration {
|
|
735
|
+
LootTierGroup: string;
|
|
736
|
+
Tier: number;
|
|
737
|
+
}
|
|
738
|
+
export interface STWMissionAlertAttributes {
|
|
739
|
+
Alteration: STWMissionAlertAlteration;
|
|
740
|
+
}
|
|
741
|
+
export interface STWMissionAlertItemWithAttributes {
|
|
742
|
+
itemType: string;
|
|
743
|
+
quantity: number;
|
|
744
|
+
attributes: STWMissionAlertAttributes;
|
|
745
|
+
}
|
|
746
|
+
export interface STWMissionAlertMissionAlertRewards {
|
|
747
|
+
tierGroupName: string;
|
|
748
|
+
items: STWMissionAlertItemWithAttributes[];
|
|
749
|
+
}
|
|
750
|
+
export interface STWMissionAlertItem {
|
|
751
|
+
itemType: string;
|
|
752
|
+
quantity: number;
|
|
753
|
+
}
|
|
754
|
+
export interface STWMissionAlertMissionAlertModifiers {
|
|
755
|
+
tierGroupName: string;
|
|
756
|
+
items: STWMissionAlertItem[];
|
|
757
|
+
}
|
|
758
|
+
export interface STWMissionAlertAvailableMissionAlert {
|
|
759
|
+
name: string;
|
|
760
|
+
categoryName: string;
|
|
761
|
+
spreadDataName: string;
|
|
762
|
+
missionAlertGuid: string;
|
|
763
|
+
tileIndex: number;
|
|
764
|
+
availableUntil: Date;
|
|
765
|
+
totalSpreadRefreshes: number;
|
|
766
|
+
missionAlertRewards: STWMissionAlertMissionAlertRewards;
|
|
767
|
+
missionAlertModifiers: STWMissionAlertMissionAlertModifiers;
|
|
768
|
+
}
|
|
769
|
+
export interface STWMissionAlertData {
|
|
770
|
+
theaterId: string;
|
|
771
|
+
availableMissionAlerts: STWMissionAlertAvailableMissionAlert[];
|
|
772
|
+
nextRefresh: Date;
|
|
773
|
+
}
|