Example #1
0
 static void Postfix(RoomManager __instance, CharacterState characterState, SpawnPoint prevPoint, SpawnPoint newPoint)
 {
     if (prevPoint != null)
     {
         CardEffectBuffOnCapacityChange.ChangeBuffs(prevPoint.GetRoomOwner());
     }
     if (newPoint != null)
     {
         CardEffectBuffOnCapacityChange.ChangeBuffs(newPoint.GetRoomOwner());
     }
 }
Example #2
0
 static void Postfix(bool __result, RoomCapacityUI __instance, RoomState room)
 {
     CardEffectBuffOnCapacityChange.ChangeBuffs(room);
 }