private void RespondToMessage(ObjectPlacementBlockHeightAdjustmentModeWasChangedMessage message) { if (message.HeightAdjustmentSettings == Settings.ManualConstructionSettings.HeightAdjustmentSettings) { _manualConstructionSession.OnHeightAdjustmentModeChanged(); } }
public static void SendToInterestedListeners(ObjectPlacementBlockHeightAdjustmentSettings heightAdjustmentSettings) { var message = new ObjectPlacementBlockHeightAdjustmentModeWasChangedMessage(heightAdjustmentSettings); MessageListenerDatabase.Instance.SendMessageToInterestedListeners(message); }