Esempio n. 1
0
 private static bool CheckSkinValid(On.RoR2.Loadout.BodyLoadoutManager.BodyLoadout.orig_IsSkinLocked orig, object self, RoR2.UserProfile userProfile)
 {
     return(!self.InvokeMethod <bool>("IsSkinValid") || orig(self, userProfile));
 }
Esempio n. 2
0
 private static bool CheckSkillVariantValid(On.RoR2.Loadout.BodyLoadoutManager.BodyLoadout.orig_IsSkillVariantLocked orig, object self, int skillSlotIndex, RoR2.UserProfile userProfile)
 {
     return(!self.InvokeMethod <bool>("IsSkillVariantValid", skillSlotIndex) || orig(self, skillSlotIndex, userProfile));
 }