public static PartActionFieldCommand FromField(UIPartActionFieldItem fieldItem) { return new PartActionFieldCommand() { FieldItem = fieldItem, TimeStamp = RTUtil.GameTime, }; }
public static PartActionFieldCommand FromField(UIPartActionFieldItem fieldItem) { return(new PartActionFieldCommand() { FieldItem = fieldItem, TimeStamp = RTUtil.GameTime, }); }
public FieldWrapper(UIPartActionFieldItem uiPartAction, Action <BaseField, bool> passthrough, bool ignoreDelay) { _uiPartAction = uiPartAction; SetDefaultListener(); _passthrough = passthrough; _ignoreDelay = ignoreDelay; _wrappedField = new WrappedField(uiPartAction.Field, WrappedField.KspFieldFromBaseField(uiPartAction.Field)); }
public FieldWrapper(UIPartActionFieldItem uiPartAction, Action<BaseField, bool> passthrough, bool ignoreDelay) { _uiPartAction = uiPartAction; SetDefaultListener(); _passthrough = passthrough; _ignoreDelay = ignoreDelay; _wrappedField = new WrappedField(uiPartAction.Field, WrappedField.KspFieldFromBaseField(uiPartAction.Field)); }