Class Help
Provides utility methods for various game-related operations.
public static class Help
- Inheritance
-
Help
- Inherited Members
Fields
EmptyEntity
public static readonly Entity EmptyEntity
Field Value
- Entity
EmptyUser
public static readonly User EmptyUser
Field Value
- User
RxName
public static readonly Regex RxName
Field Value
Methods
CamelCaseToSpaces(UnitStatType)
Converts a string into camel casing by removing spaces and capitalizing the first letter of each word.
public static string? CamelCaseToSpaces(UnitStatType type)
Parameters
type
UnitStatTypeThe ProjectM.UnitStatType to convert.
Returns
- string
A string representing the camel-cased name of the ProjectM.UnitStatType.
GetTrueName(string)
Get the true name of a string by extracting the last part after the last square bracket.
public static FixedString64Bytes GetTrueName(string name)
Parameters
name
stringThe name string to process.
Returns
- FixedString64Bytes
A Unity.Collections.FixedString64Bytes containing the true name.
Shutdown()
Shuts down the application gracefully.
public static void Shutdown()
StartBatchScript(string, string)
Starts a batch script with the specified path.
public static void StartBatchScript(string scriptPath, string newProcess = "")