# Load User Data Type
Grammar — Load user data for userType from bank bank section section
Flags —Native
|Action
Loads all modified values for all instances of the given type.
# Arguments
string
<gamelink::User> — User Typebank
— Bankstring
— Section
Returns — void
native void UserDataLoadType(
string inType,
bank inBank,
string inSection,
);
# Related
Category: User Data / Save/Load
- Save User Data Instance —
void
— UserDataSaveInstance - Load User Data Instance —
void
— UserDataLoadInstance - Save User Data Type —
void
— UserDataSaveType - Load User Data Type —
void
— UserDataLoadType
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12400
// Automatic Variable Declarations
// Implementation
UserDataLoadType("KerriganAbility", lp_bank, lp_sectionTech);
libSwaC_gv_zSX_KerriganTechTiers[1] = libSwaC_gf_ZS_LoadTransitionVarInteger(lp_bank, lp_sectionTech, "Tier1", 1);
libSwaC_gv_zSX_KerriganTechTiers[2] = libSwaC_gf_ZS_LoadTransitionVarInteger(lp_bank, lp_sectionTech, "Tier2", 1);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13165
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "Scenes");
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13167
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13169
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
libSwaC_gf_ZS_LoadLibertyInfo();
libSwaC_gf_ZS_UpdateCampaignScreen(libSwaC_gf_LastSuccessfulMission());
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13189
}
lv__SectionName = libSwaC_gf_ZS_BankSectionName(lp_map, "Tips");
UserDataLoadType("CampaignTips", lp_sourceBank, lv__SectionName);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:506
lv_statisticsBank = BankLastCreated();
BankOptionSet(lv_statisticsBank, c_bankOptionSignature, true);
UserDataLoadType("ScriptedScenes", lv_statisticsBank, "StoryScenes");
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:643
// Implementation
UserDataLoadType("WriterStates", libSwaC_gf_StoryBank(), ("WriterStateSnapshot"));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:7583
BankLoad(libSwaC_gf_StoryEventParameter(libSwaC_ge_ZS_Event_ProgressCheatLoad, 1), 1);
UserDataLoadType("Character", BankLastCreated(), "Characters");
auto3B640459_ai = 1;
auto3B640459_ae = UserDataInstanceCount("Character")+1;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4400
// Automatic Variable Declarations
// Implementation
UserDataLoadType("SpearofAdunUpgrade", lp_bank, lp_section);
libVoiC_gv_pCX_SoACheatCurrency = libVoiC_gf_PC_LoadTransitionVarInteger(lp_bank, lp_section, "CheatCurrency", 0);
libVoiC_gv_pCX_SoAPreviousTotalPower = libVoiC_gf_PC_LoadTransitionVarInteger(lp_bank, lp_section, "PreviousTotalCurrency", 0);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:5833
// Automatic Variable Declarations
// Implementation
UserDataLoadType("CampaignPerk", lp_bank, lp_section);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7139
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "Scenes");
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7141
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7143
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "CampaignLastInfo");
libVoiC_gf_PC_SetLocationActive((libVoiC_gf_PC_LoadTransitionVarString(lp_sourceBank, lv__SectionName, ("Location"), "")));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7180
}
lv__SectionName = libVoiC_gf_PC_BankSectionName(lp_map, "Tips");
UserDataLoadType("CampaignTips", lp_sourceBank, lv__SectionName);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4616
BankLoad(libVoiC_gf_CampaignEventParameter(libVoiC_ge_PC_Event_CampaignProgressCheatLoad, 1), 1);
UserDataLoadType("Clickable", BankLastCreated(), "Characters");
auto3A2971A6_ai = 1;
auto3A2971A6_ae = UserDataInstanceCount("Clickable")+1;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:2769
void libComC_gf_CC_LoadPerksFromBank (bank lp_bank, string lp_section) {
// Implementation
UserDataLoadType("CampaignPerk", lp_bank, lp_section);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3275
libComC_gv_cCX_MapInstanceID += 1;
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "Scenes");
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3277
UserDataLoadType("Scenes", lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3279
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "StoryStates");
UserDataLoadType("StoryStates", lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "CampaignLastInfo");
libComC_gf_CC_LocationActivate((libComC_gf_CC_LoadTransitionVarString(lp_sourceBank, lv__SectionName, ("Location"), "")));
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3291
libComC_gf_CC_LoadPerksFromBank(lp_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lp_map, "Tips");
UserDataLoadType("CampaignTips", lp_sourceBank, lv__SectionName);
libComC_gf_CC_EventDispatch(libComC_ge_CC_Event_CC_EventTransitionLoad, BankName(lp_sourceBank), (lp_map), false);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:3961
BankLoad(libComC_gf_CC_EventParameter(libNovC_ge_NC_Event_CampaignProgressCheatLoad, 1), 1);
UserDataLoadType("Clickable", BankLastCreated(), "Characters");
auto3A2971A6_ai = 1;
auto3A2971A6_ae = UserDataInstanceCount("Clickable")+1;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1723
void libNovC_gf_NC_LoadArmyTechItemsFromBank (bank lp_bank, string lp_section) {
// Implementation
UserDataLoadType("CampaignTechItem", lp_bank, lp_section);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:3943
libNovC_gf_NC_LoadArmyTechItemsFromBank(lv_sourceBank, lv__SectionName);
lv__SectionName = libComC_gf_CC_BankSectionName(lv_bankMap, "CharacterStatus");
UserDataLoadType("CharacterStatus", lv_sourceBank, lv__SectionName);
return true;
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6303
lv__SectionName = libA3DDD02B_gf_PP_BankSectionName(lp_map, "WriterStates");
UserDataLoadType("WriterStates", lp_sourceBank, lv__SectionName);
libA3DDD02B_gf_PP_UpdateCampaignScreen(libA3DDD02B_gf_LastSuccessfulMission());
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6315
}
lv__SectionName = libA3DDD02B_gf_PP_BankSectionName(lp_map, "Tips");
UserDataLoadType("CampaignTips", lp_sourceBank, lv__SectionName);
}