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

◆ Repeat()

static int Terraria.Utils.Repeat ( int value,
int length )
inlinestatic

Definition at line 3212 of file Utils.cs.

3213 {
3214 if (value < 0)
3215 {
3216 return value % length + length;
3217 }
3218 return value % length;
3219 }

Referenced by Terraria.Main.DrawMenu(), and Terraria.ModLoader.MenuLoader.OffsetModMenu().

+ Here is the caller graph for this function: