CampaignProfile class Null safety
campaign profile manager library
- Inheritance
-
- Object
- McpProfile
- CampaignProfile
Constructors
- CampaignProfile(Client client)
- campaign profile object
Properties
- accountId ↔ String
-
account id of the profile
read / writeinherited
- accountLevel → num
-
account level for profile
read-only
-
accountResources
→ Iterable<
AccountResource> -
get account resources of the profile
read-only
- backpack ↔ BackpackProfile
-
BackpackProfile backpack profile manager
read / write
- backpackSize → num
-
backpack size
read-only
-
get banner quests of profile
read-only
- client ↔ Client
-
The master client
latefinalinherited
- collectionBookLevel → num
-
collection book level
read-only
-
commandoHeroes
→ Iterable<
STWHero> -
commando type heroes of the profile
read-only
-
completedMissionAlerts
→ List<
String> -
get completed mission alerts
read-only
-
completedStormShields
→ Map<
String, int> -
get completed storm shields
read-only
-
constructorHeroes
→ Iterable<
STWHero> -
constructor type heroes of the profile
read-only
- created ↔ DateTime
-
When the profile was created
read / writeinherited
-
enduranceCompletions
→ Map<
String, DateTime?> -
get endurance completions
read-only
-
fortStats
→ Map<
String, int> -
get total FORT stats of the profile.
this is the sum of FORT stats of survivorFORT and researchFORT.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
heroes
→ Iterable<
STWHero> -
get stw heroes of the profile
read-only
-
heroLoadouts
→ Iterable<
STWHeroLoadout> -
get hero loadouts of the profile
read-only
- initialized ↔ bool
-
is the profile initialized
read / writeinherited
-
items
↔ List<
ProfileItem> -
profile items
read / writeinherited
-
managers
→ Iterable<
STWWorker> -
get manager workers of the profile
read-only
- matchesPlayed → num
-
matches played
read-only
- mfaClaimed → bool
-
mfa rewards claimed or not
read-only
-
ninjaHeroes
→ Iterable<
STWHero> -
ninja type heroes of the profile
read-only
-
outlanderHeroes
→ Iterable<
STWHero> -
outlander type heroes of the profile
read-only
- pastMaxLevel → num
-
past max level for profile
read-only
-
pendingDifficultyRewards
→ Map<
String, int> -
get pending difficulty rewards
read-only
-
pendingResearchLevels
→ Map<
String, int> -
get pending research levels (research levels that are below 120)
read-only
- powerLevel → num
-
returns power level rating of profile
read-only
- powerLevelCurve ↔ CurveTable
-
power level curve table reader
read / write
- profileId ↔ FortniteProfile
-
The profile id of mcp profile
read / writeinherited
-
researchFORT
→ Map<
String, int> -
get FORT stats by research of profile
read-only
-
researchLevels
→ Map<
String, int> -
get research levels
read-only
- researchPoints → num
-
available research points
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- rvn ↔ int
-
number of profile revisions
read / writeinherited
- sbx → int
-
Battle royale xp collected from stw
read-only
-
schematics
→ Iterable<
STWSchematic> -
get stw schematics of the profile
read-only
- serverTime ↔ DateTime
-
time of epic servers
read / writeinherited
-
stats
↔ Map<
String, dynamic> -
profile stats
read / writeinherited
- storage ↔ StorageProfile
-
StorageProfile storage profile manager
read / write
- storageSize → num
-
storage size
read-only
- stormKingQuest → StormKingQuest
-
get current storm king quest
read-only
-
stormKingSchematics
→ List<
STWSchematic> -
get storm king schematics
read-only
-
stormKingSchematicsCount
→ Map<
String, int> -
get storm king schematics count
read-only
-
survivorFORT
→ Map<
String, int> -
get FORT stats from survivor squads.
read-only
- survivorSquadPreset → SurvivorSquadPreset
-
get current survivor squad preset
read-only
-
survivorSquads
→ Map<
String, List< STWWorker> > -
returns survivor squads of the profile.
there are 8 survivors squads in total.
each squad can have a max of 8 survivors.
read-only
-
traps
→ Iterable<
STWSchematic> -
get stw trap of the profile
read-only
- tutorialCompleted → bool
-
completed tutorial?
read-only
- unslotCost → num
-
unslot cost
read-only
- updated ↔ DateTime
-
When the profile was last updated
read / writeinherited
- venturesBackpack ↔ VenturesBackpackProfile
-
VenturesBackpackProfile
ventures backpack profile managerread / write -
venturesFORT
→ Map<
String, int> -
get ventures FORT stats of profile
read-only
- venturesPowerLevel → num
-
returns ventures power level rating of profile
read-only
-
weapons
→ Iterable<
STWSchematic> -
get stw weapons of the profile
read-only
-
workers
→ Iterable<
STWWorker> -
get workers of the profile
read-only
Methods
-
claimDailyReward(
) → Future< ClaimDailyRewardResponse> - claim daily rewards
-
collectCollectionBookRewards(
) → Future< void> - claim pending collection book level rewards
-
collectDifficultyRewards(
) → Future< void> - claim pending difficulty rewards
-
collectMissionAlertRewards(
) → Future< void> - claim pending difficulty rewards
-
collectResearchPoints(
) → Future< void> - collect research points
-
confirmInitialized(
) → bool -
inherited
-
equipSurvivorSquadPreset(
SurvivorSquadPreset preset) → Future< void> - set a survivor squad preset
-
init(
String? accId) → Future - init the profile
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
skipTutorial(
) → Future< void> - skip campaign tutorial if not completed
-
toString(
) → String -
A string representation of this object.
inherited
-
upgradeHomebaseNode(
String nodeId) → Future< void> - updgrade a homebase node
-
upgradeResearchStat(
String stat) → Future< void> - upgrade research stat
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited