public TouchingByThingComp(Thing parent, Type RequiredType, string label, Action_OnThings LeftClick = null, Action_OnThings RightClick = null) { parentThing = parent; icon = Icon.NextButton; parentType = RequiredType; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; defaultLabel = label; }
public CommandGroupOfTouchingThingsByThingComp( Thing parent, Type RequiredType, string label, Action_OnThings lAction = null, Action_OnThings rAction = null ) { parentThing = parent; icon = Icon.NextButton; parentType = RequiredType; _laction = lAction; _raction = rAction; defaultDesc = Desc; defaultLabel = label; }
public CommandGroupOfTouchingThingsByThingComp(Thing parent, Type RequiredType, string label, Action_OnThings lAction = null, Action_OnThings rAction = null) { parentThing = parent; icon = Icon.NextButton; parentType = RequiredType; _laction = lAction; _raction = rAction; defaultDesc = Desc; defaultLabel = label; }
public TouchingByThingComp( Thing parent, Type RequiredType, string label, Action_OnThings LeftClick = null, Action_OnThings RightClick = null ) { parentThing = parent; icon = Icon.NextButton; parentType = RequiredType; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; defaultLabel = label; }
public TouchingByDef( Thing parent, Action_OnThings LeftClick = null, Action_OnThings RightClick = null ) { parentThing = parent; icon = Icon.NextButton; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; var stringBuilder = new StringBuilder(); stringBuilder.AppendFormat( "CommandGroupOfThingsByDefLabel".Translate(), parent.def.label ); defaultLabel = stringBuilder.ToString(); }
public CommandGroupOfTouchingThingsByDef( Thing parent, Action_OnThings lAction = null, Action_OnThings rAction = null ) { parentThing = parent; icon = Icon.NextButton; _laction = lAction; _raction = rAction; defaultDesc = Desc; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendFormat( "CommandGroupOfThingsByDefLabel".Translate(), parent.def.label ); defaultLabel = stringBuilder.ToString(); }
public TouchingByDef(Thing parent, Action_OnThings LeftClick = null, Action_OnThings RightClick = null) { parentThing = parent; icon = Icon.NextButton; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; var stringBuilder = new StringBuilder(); stringBuilder.AppendFormat("CommandGroupOfThingsByDefLabel".Translate(), parent.def.label); defaultLabel = stringBuilder.ToString(); }
public CommandGroupOfTouchingThingsByLinker(Thing parent, Action_OnThings lAction = null, Action_OnThings rAction = null) { parentThing = parent; icon = Icon.NextButton; _laction = lAction; _raction = rAction; defaultDesc = Desc; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.AppendFormat("CommandGroupOfThingsByLinkerLabel".Translate(), parent.def.label); defaultLabel = stringBuilder.ToString(); }
public TouchingByLinker( Thing parent, Texture2D designatorIcon, Action_OnThings LeftClick = null, Action_OnThings RightClick = null ) { parentThing = parent; icon = designatorIcon; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; var stringBuilder = new StringBuilder(); stringBuilder.AppendFormat( "CommandGroupOfThingsByLinkerLabel".Translate(), parent.def.label ); defaultLabel = stringBuilder.ToString(); }
public TouchingByLinker( Thing parent, Texture2D designatorIcon, Action_OnThings LeftClick = null, Action_OnThings RightClick = null ) { parentThing = parent; icon = designatorIcon; ClickLeft = LeftClick; ClickRight = RightClick; defaultDesc = Desc; var stringBuilder = new StringBuilder(); stringBuilder.AppendFormat("CommandGroupOfThingsByLinkerLabel".Translate(), parent.def.label); defaultLabel = stringBuilder.ToString(); }