Table of Contents

Class Help

Namespace
RisingV.Shared.Utils
Assembly
RisingV.Shared.dll

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

Regex

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 UnitStatType

The 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 string

The 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 = "")

Parameters

scriptPath string

The path to the batch script to execute.

newProcess string

Optional. If specified, the script will be run in a new command prompt window with this title.