public static void ChangeColor(InventoryDataObject_SalvageMechPart __instance, InventoryItemElement theWidget) { try { TColorExtentions.ResetTextIconColor(theWidget); } catch (Exception e) { Control.LogError(e); } }
public static void ChangeColor(ListElementController_SalvageMechPart_NotListView __instance, InventoryItemElement_NotListView theWidget) { try { TColorExtentions.ResetTextIconColor(theWidget); } catch (Exception e) { Control.LogError(e); } }
public static bool ChangeColor(ListElementController_InventoryGear_NotListView __instance, InventoryItemElement_NotListView theWidget) { try { ColorExtentions.ChangeBackColor(__instance.componentRef.Def, theWidget); TColorExtentions.ChangeTextIconColor(__instance.componentRef.Def, theWidget); } catch { return(true); } return(false); }
public static bool ChangeColor(InventoryItemElement_NotListView __instance, MechComponentRef ___componentRef) { try { ColorExtentions.ChangeBackColor(___componentRef.Def, __instance); TColorExtentions.ChangeTextIconColor(___componentRef.Def, __instance); } catch { return(true); } return(false); }
public static bool ChangeColor(InventoryDataObject_InventoryWeapon __instance, InventoryItemElement theWidget) { try { ColorExtentions.ChangeBackColor(__instance.componentRef.Def, theWidget); TColorExtentions.ChangeTextIconColor(__instance.componentRef.Def, theWidget); } catch { return(true); } return(false); }
public static bool ChangeColor(InventoryItemElement theWidget, InventoryDataObject_ShopGear __instance) { try { ColorExtentions.ChangeBackColor(__instance.componentDef, theWidget); TColorExtentions.ChangeTextIconColor(__instance.componentDef, theWidget); } catch (Exception ex) { Control.LogError(ex); } return(false); }
public static bool ChangeColor(ListElementController_SalvageWeapon_NotListView __instance, InventoryItemElement_NotListView theWidget) { try { if (__instance.componentDef == null) { return(true); } ColorExtentions.ChangeBackColor(__instance.weaponDef ?? __instance.componentDef, theWidget); TColorExtentions.ChangeTextIconColor(__instance.weaponDef ?? __instance.componentDef, theWidget); return(false); } catch (Exception e) { Control.LogError(e); return(true); } }
public static bool ChangeColor(InventoryDataObject_SalvageGear __instance, InventoryItemElement theWidget) { try { if (__instance.componentDef == null) { return(true); } ColorExtentions.ChangeBackColor(__instance.componentDef, theWidget); TColorExtentions.ChangeTextIconColor(__instance.componentDef, theWidget); return(false); } catch (Exception e) { Control.LogError(e); return(true); } }