TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SetDefaults_ForNetId() [1/2]

void Terraria.NPC.SetDefaults_ForNetId ( int Type,
float scaleOverride )
inline

Definition at line 3357 of file NPC.cs.

3358 {
3359 SetDefaults(Type, new NPCSpawnParams
3360 {
3361 playerCountForMultiplayerDifficultyOverride = 1,
3362 sizeScaleOverride = scaleOverride,
3363 strengthMultiplierOverride = 1f
3364 });
3365 }
void SetDefaults(int Type, NPCSpawnParams spawnparams=default(NPCSpawnParams))
Definition NPC.cs:3378

References Terraria.NPC.SetDefaults().

Referenced by Terraria.NPC.SetDefaultsFromNetId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: