We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[unreal]新delegate方案的android编译错误以及quickjs上发现的问题的修正 0cf6522
UE5.2
Editor(win)
静态绑定有几个函数绑不了 相关代码:
UsingUStruct(FPredictionKey); UsingUStruct(FGameplayAbilityActivationInfo); puerts::DefineClass<FGameplayAbilityActivationInfo>() .Method("GetActivationPredictionKey", MakeFunction(&FGameplayAbilityActivationInfo::GetActivationPredictionKey)) .Register(); puerts::DefineClass<UEnhancedPlayerInput>() .Method("GetActionValue", MakeFunction(&UEnhancedPlayerInput::GetActionValue)) .Register();
log:
0>StaticCall.hpp(248): Error C2664 : 'v8::Local<v8::Value> puerts::v8_impl::Converter<FPredictionKey *,void>::toScript(v8::Local<v8::Context>,T *)': cannot convert argument 2 from 'const FPredictionKey *' to 'T *' 0> with 0> [ 0> T=FPredictionKey 0> ] 0>StaticCall.hpp(248): Reference : Conversion loses qualifiers 0>UEDataBinding.hpp(469): Reference : see declaration of 'puerts::v8_impl::Converter<FPredictionKey *,void>::toScript'
0>StaticCall.hpp(260): Error C2027 : use of undefined type 'puerts::v8_impl::Converter<TObjectPtr<const UInputAction>,void>'
The text was updated successfully, but these errors were encountered:
要include对应头文件
Sorry, something went wrong.
f95a807
[unreal]函数返回const FXXStruct&时,静态绑定报错,fix Tencent/puerts#1516
1071398
chexiongsheng
No branches or pull requests
前置阅读 | Pre-reading
Puer的版本 | Puer Version
[unreal]新delegate方案的android编译错误以及quickjs上发现的问题的修正 0cf6522
UE的版本 | UE Version
UE5.2
发生在哪个平台 | Platform
Editor(win)
错误信息 | Error Message
静态绑定有几个函数绑不了
相关代码:
问题重现 | Bug reproduce
log:
The text was updated successfully, but these errors were encountered: