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

◆ SelectRandom< T >()

static T Terraria.Utils.SelectRandom< T > ( UnifiedRandom random,
params T[] choices )
inlinestatic

Definition at line 2372 of file Utils.cs.

2373 {
2374 return choices[random.Next(choices.Length)];
2375 }

References Terraria.Utilities.UnifiedRandom.Next().

+ Here is the call graph for this function: