Blueprint Bitmasks are weird, why?


state2

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "E_State.generated.h"

UENUM(BlueprintType, meta = (Bitflags, UseEnumValuesAsMaskValuesInEditor = "true"))
enum class EStates : uint8
{    
    None = 0 UMETA(Hidden),
    IgnoreState = 1 << 0       UMETA(DisplayName = "Ignore State"),
    NoLocation = 1 << 1        UMETA(DisplayName = "No location"),
    Suicide = 1 << 2          UMETA(DisplayName = "Suicide"),
    ImmediateSwitch = 1 << 3   UMETA(DisplayName = "Immediate Switch"),
    ManualPosses = 1 << 4     UMETA(DisplayName = "Manual Possess"),    
};