Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.Misc.MiscHelpers Class Reference

Assorted static "helper" misc. functions. More...

Static Public Member Functions

static string RenderTickDuration (int ticks)
 Renders a given game tick value as a string. More...
 
static string RenderCondensedTickDuration (int ticks)
 Renders a given game tick value as a condensed string. More...
 
static string RenderColorHex (Color color)
 Renders a color as a hex code string. More...
 

Detailed Description

Assorted static "helper" misc. functions.

Definition at line 11 of file MiscHelpers.cs.

Member Function Documentation

◆ RenderColorHex()

static string HamstarHelpers.Helpers.Misc.MiscHelpers.RenderColorHex ( Color  color)
static

Renders a color as a hex code string.

Parameters
color
Returns

Definition at line 105 of file MiscHelpers.cs.

◆ RenderCondensedTickDuration()

static string HamstarHelpers.Helpers.Misc.MiscHelpers.RenderCondensedTickDuration ( int  ticks)
static

Renders a given game tick value as a condensed string.

Parameters
ticks
Returns

Definition at line 74 of file MiscHelpers.cs.

◆ RenderTickDuration()

static string HamstarHelpers.Helpers.Misc.MiscHelpers.RenderTickDuration ( int  ticks)
static

Renders a given game tick value as a string.

Parameters
ticks
Returns

Definition at line 46 of file MiscHelpers.cs.


The documentation for this class was generated from the following file: