Example #1
0
 // Token: 0x06000014 RID: 20 RVA: 0x00002890 File Offset: 0x00000A90
 public static bool IsCamoActive(Pawn target, out Apparel ACItem)
 {
     ACItem = null;
     if (!CamoGearUtility.IsWearingActiveCamo(target, out Apparel apparel))
     {
         return(false);
     }
     if (apparel != null && CamoUtility.ActiveCamoIsActive(apparel))
     {
         ACItem = apparel;
         return(true);
     }
     return(false);
 }