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

◆ NextFromList< T >()

static T Terraria.Utils.NextFromList< T > ( this UnifiedRandom random,
params T[] objs )
inlinestatic

Definition at line 986 of file Utils.cs.

987 {
988 return objs[random.Next(objs.Length)];
989 }

References Terraria.Utilities.UnifiedRandom.Next().

+ Here is the call graph for this function: