Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ConvertHelper.cs
Go to the documentation of this file.
2
3internal static class ConvertHelper
4{
5 public static int ToInt32NoNull(object val)
6 {
7 if (val != null)
8 {
9 return Convert.ToInt32(val);
10 }
11 return ((int?)val).Value;
12 }
13}
static int ToInt32(object? value)
Definition Convert.cs:1320