protected RemovePartsOutfitTask(SimDescription sim, ICollection <BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { mSim = sim; mTypes = new List <BodyTypes>(types).ToArray(); mCurrentOnly = currentOnly; mPostPerform = onPostPerform; }
protected RemovePartsOutfitTask(SimDescription sim, ICollection<BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { mSim = sim; mTypes = new List<BodyTypes>(types).ToArray(); mCurrentOnly = currentOnly; mPostPerform = onPostPerform; }
public static void Perform(SimDescription sim, ICollection <BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { new RemovePartsOutfitTask(sim, types, currentOnly, onPostPerform).AddToSimulator(); }
public static void Perform(Sim sim, ICollection <BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { Perform(sim.SimDescription, types, currentOnly, onPostPerform); }
public static void Perform(SimDescription sim, ICollection<BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { new RemovePartsOutfitTask(sim, types, currentOnly, onPostPerform).AddToSimulator(); }
public static void Perform(Sim sim, ICollection<BodyTypes> types, bool currentOnly, PostPerform onPostPerform) { Perform(sim.SimDescription, types, currentOnly, onPostPerform); }