Method | Description | |
---|---|---|
CustomDrawer_Filter ( Rect rect, SettingHandle slider, bool def_isPercentage, float def_min, float def_max, Color background ) : bool | ||
CustomDrawer_MatchingAnimals_active ( Rect wholeRect, SettingHandle setting, List allAnimals, SettingHandle filter = null, string yesText = "Is a mount", string noText = "Is not a mount" ) : bool | ||
CustomDrawer_Tabs ( Rect rect, SettingHandle selected, Array defaultValues ) : bool | ||
filterAnimals ( SettingHandle &setting, List allAnimals, SettingHandle filter = null ) : void |
Method | Description | |
---|---|---|
DrawLabel ( string labelText, Rect textRect, float offset ) : void | ||
DrawTileForAnimal ( KeyValuePair Animal, Rect contentRect, Vector2 iconOffset, int buttonID ) : bool | ||
addNewAnimal ( ThingDef animal, Dictionary selection, bool shouldSelect, String settingName ) : void | ||
drawBackground ( Rect rect, Color background ) : void | ||
getColor ( ThingDef Animal ) : Color |
public static CustomDrawer_Filter ( Rect rect, SettingHandle slider, bool def_isPercentage, float def_min, float def_max, Color background ) : bool | ||
rect | Rect | |
slider | SettingHandle | |
def_isPercentage | bool | |
def_min | float | |
def_max | float | |
background | Color | |
return | bool |
public static CustomDrawer_MatchingAnimals_active ( Rect wholeRect, SettingHandle setting, List allAnimals, SettingHandle filter = null, string yesText = "Is a mount", string noText = "Is not a mount" ) : bool | ||
wholeRect | Rect | |
setting | SettingHandle | |
allAnimals | List | |
filter | SettingHandle | |
yesText | string | |
noText | string | |
return | bool |
public static CustomDrawer_Tabs ( Rect rect, SettingHandle selected, Array defaultValues ) : bool | ||
rect | Rect | |
selected | SettingHandle | |
defaultValues | Array | |
return | bool |
public static filterAnimals ( SettingHandle &setting, List allAnimals, SettingHandle filter = null ) : void | ||
setting | SettingHandle | |
allAnimals | List | |
filter | SettingHandle | |
return | void |