Utility
Namespace: uMod
Assembly: uMod.Core.dll
Inheritance Object Utility
Constructors
Name | Summary |
|---|---|
Utility () |
Static Fields
Name | Summary |
|---|---|
Formatter | |
Interpolator | |
Plugins | |
Random | |
Time |
Static Methods
Name | Summary |
|---|---|
CleanPath ( | Converts all path directory separaters to evironment-specific directory seperators |
Converts a string of JSON to a JSON object | |
Converts a JSON object to a string of JSON | |
FormatBytes ( | Returns the formatted bytes from a double |
GetDirectoryName ( | Gets the path only for a directory |
GetFileNameWithoutExtension ( | Gets the filename of a file without the extension |
GetLocalIP () | Gets the local network IP of the machine |
GetNumbers ( | Gets only the numbers from a string |
IsLocalIP ( | Returns if the provided IP address is a local network IP |
PrintCallStack () | Print the call stack to the log file |
ReflectedName ( | Ensures a type or field name does not contain "special" characters |
ValidateIPv4 ( | Returns if the provided IP address is a valid IPv4 address |