MCPcopy Create free account
hub / github.com/Svxy/The-Simpsons-Hit-and-Run / LoadScript

Method LoadScript

game/code/mission/rewards/rewardsmanager.cpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172void RewardsManager::LoadScript()
173{
174 mScriptLoaded = false;
175 GetMissionScriptLoader()->LoadScriptAsync( const_cast<char*>( REWARDS_SCRIPT_FILE ), this );
176}
177
178
179int RewardsManager::BindReward(char* name,char* filename, Reward::eRewardType rtype, Reward::eQuestType qtype, int level)

Callers

nothing calls this directly

Calls 2

GetMissionScriptLoaderFunction · 0.85
LoadScriptAsyncMethod · 0.80

Tested by

no test coverage detected