public static new bool Show(ref LotType currentType, ref CommercialLotSubType currentCommercialSubType, ref ResidentialLotSubType currentResidentialSubType, ref string lotTypeName, Vector2 position, ModalDialog.PauseMode pauseMode, bool isHouseboatLot) { if (ModalDialog.EnableModalDialogs) { using (ChangeLotTypeDialogEx dialog = new ChangeLotTypeDialogEx(currentType, currentCommercialSubType, currentResidentialSubType, position, pauseMode, isHouseboatLot)) { dialog.StartModal(); currentType = dialog.mCurrentLotType; currentCommercialSubType = dialog.mCurrentCommercialSubType; currentResidentialSubType = dialog.mCurrentResidentialSubType; lotTypeName = dialog.mLotTypeName; return(dialog.Result); } } return(false); }
public static new bool Show(ref LotType currentType, ref CommercialLotSubType currentCommercialSubType, ref ResidentialLotSubType currentResidentialSubType, ref string lotTypeName, Vector2 position, ModalDialog.PauseMode pauseMode, bool isHouseboatLot) { if (ModalDialog.EnableModalDialogs) { using (ChangeLotTypeDialogEx dialog = new ChangeLotTypeDialogEx(currentType, currentCommercialSubType, currentResidentialSubType, position, pauseMode, isHouseboatLot)) { dialog.StartModal(); currentType = dialog.mCurrentLotType; currentCommercialSubType = dialog.mCurrentCommercialSubType; currentResidentialSubType = dialog.mCurrentResidentialSubType; lotTypeName = dialog.mLotTypeName; return dialog.Result; } } return false; }