public PainCategoryWeighted(PainCategory category, float weight) { this.category = category; this.weight = weight; }
public static void SetPainCategory(Verse.HediffComp_GetsPermanent comp, PainCategory painCategory) { ReflectionCache.Instance.HediffComp_GetsPermanent_PainCategory.SetValue(comp, painCategory); }