예제 #1
0
 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);
        }