private void CharacterModel_SetEquipmentDisplay(On.RoR2.CharacterModel.orig_SetEquipmentDisplay orig, RoR2.CharacterModel self, RoR2.EquipmentIndex newEquipmentIndex)
 {
     if (DisableEquipmentDisplay.Value)
     {
         if (newEquipmentIndex != RoR2.EquipmentIndex.GoldGat && newEquipmentIndex != RoR2.EquipmentIndex.Jetpack)
         {
             newEquipmentIndex = RoR2.EquipmentIndex.None;
         }
     }
     orig(self, newEquipmentIndex);
 }
Ejemplo n.º 2
0
 private void CharacterModel_SetEquipmentDisplay(On.RoR2.CharacterModel.orig_SetEquipmentDisplay orig, RoR2.CharacterModel self, RoR2.EquipmentIndex newEquipmentIndex)
 {
     return;
 }
 private void CharacterModel_EnableItemDisplay(On.RoR2.CharacterModel.orig_EnableItemDisplay orig, RoR2.CharacterModel self, RoR2.ItemIndex itemIndex)
 {
     if (!DisableItemDisplay.Value)
     {
         orig(self, itemIndex);
     }
     return;
 }