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.PaintHelpers Class Reference

Assorted static "helper" functions pertaining to game music. More...

Static Public Member Functions

static byte GetNearestPaintType (Color color)
 Gets a paint type of the color with the nearest approximation of the given color. More...
 

Detailed Description

Assorted static "helper" functions pertaining to game music.

Definition at line 12 of file PaintHelpers.cs.

Member Function Documentation

◆ GetNearestPaintType()

static byte HamstarHelpers.Helpers.Misc.PaintHelpers.GetNearestPaintType ( Color  color)
static

Gets a paint type of the color with the nearest approximation of the given color.

Parameters
color
Returns
Internal paint id (not item id).

Definition at line 24 of file PaintHelpers.cs.


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