#FlowDataPinLegacy
| 166 | |
| 167 | // #FlowDataPinLegacy |
| 168 | FFlowPinTypeName FFlowPin::GetPinTypeNameForLegacyPinType(EFlowPinType PinType) |
| 169 | { |
| 170 | FLOW_ASSERT_ENUM_MAX(EFlowPinType, 16); |
| 171 | switch (PinType) |
| 172 | { |
| 173 | case EFlowPinType::Exec: |
| 174 | return FFlowPinType_Exec::GetPinTypeNameStatic(); |
| 175 | case EFlowPinType::Bool: |
| 176 | return FFlowPinType_Bool::GetPinTypeNameStatic(); |
| 177 | case EFlowPinType::Int: |
| 178 | return FFlowPinType_Int::GetPinTypeNameStatic(); |
| 179 | case EFlowPinType::Float: |
| 180 | return FFlowPinType_Float::GetPinTypeNameStatic(); |
| 181 | case EFlowPinType::Name: |
| 182 | return FFlowPinType_Name::GetPinTypeNameStatic(); |
| 183 | case EFlowPinType::String: |
| 184 | return FFlowPinType_String::GetPinTypeNameStatic(); |
| 185 | case EFlowPinType::Text: |
| 186 | return FFlowPinType_Text::GetPinTypeNameStatic(); |
| 187 | case EFlowPinType::Enum: |
| 188 | return FFlowPinType_Enum::GetPinTypeNameStatic(); |
| 189 | case EFlowPinType::Vector: |
| 190 | return FFlowPinType_Vector::GetPinTypeNameStatic(); |
| 191 | case EFlowPinType::Rotator: |
| 192 | return FFlowPinType_Rotator::GetPinTypeNameStatic(); |
| 193 | case EFlowPinType::Transform: |
| 194 | return FFlowPinType_Transform::GetPinTypeNameStatic(); |
| 195 | case EFlowPinType::GameplayTag: |
| 196 | return FFlowPinType_GameplayTag::GetPinTypeNameStatic(); |
| 197 | case EFlowPinType::GameplayTagContainer: |
| 198 | return FFlowPinType_GameplayTagContainer::GetPinTypeNameStatic(); |
| 199 | case EFlowPinType::InstancedStruct: |
| 200 | return FFlowPinType_InstancedStruct::GetPinTypeNameStatic(); |
| 201 | case EFlowPinType::Object: |
| 202 | return FFlowPinType_Object::GetPinTypeNameStatic(); |
| 203 | case EFlowPinType::Class: |
| 204 | return FFlowPinType_Class::GetPinTypeNameStatic(); |
| 205 | default: |
| 206 | return FFlowPinTypeName(); |
| 207 | } |
| 208 | } |
| 209 | // -- |
| 210 | |
| 211 | #if WITH_EDITOR |
nothing calls this directly
no test coverage detected