kbengine / kbengine_ue4_plugins

This client-plugins-project is written for kbengine(a MMOG engine of server)

Home Page:http://kbengine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unrecognized type 'int' - type must be a UCLASS, USTRUCT or UENUM

marshal-it opened this issue · comments

1>多个地方出现---如果用到蓝图的宏的话,必须用虚幻自己的数据类型,这个不能直接用int -- 可以用int32
E:/GitHub/kbengine_ue4_demo/Plugins/kbengine_ue4_plugins/Source/KBEnginePlugins/Public/KBEvent.h(269) : Unrecognized type 'int' - type must be a UCLASS, USTRUCT or UENUM

UCLASS(Blueprintable, BlueprintType)
class KBENGINEPLUGINS_API UKBEventData_onLoseControlledEntity : public UKBEventData
{
GENERATED_BODY()

public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = KBEngine)
int entityID;
};

int entityID; -> int32 entityID;

目前测试版本是UE4 4.10

貌似,4.14之后没有这个问题,4.10有点久远了

可以关了?