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
master 25/2/18
UE 5.5.3
Editor(win)
蓝图函数中,定义了形参,包含了单引号,生成的ue.bp.d.ts文件中会直接生成单引号,使得语法解析失败。
以下为生成的ts函数定义: Shot(BoneName: string, BodyImpact$: boolean, VehicleImpactStruct: UE.Game.CitySample.Vehicle.Blueprint.VehicleBulletImpactStruct.VehicleBulletImpactStruct, I'mSureisGlass: boolean, Shooter: $Nullable<UE.Actor>) : void;
Shot(BoneName: string, BodyImpact$: boolean, VehicleImpactStruct: UE.Game.CitySample.Vehicle.Blueprint.VehicleBulletImpactStruct.VehicleBulletImpactStruct, I'mSureisGlass: boolean, Shooter: $Nullable<UE.Actor>) : void;
The text was updated successfully, but these errors were encountered:
试试这里添加特殊符号:https://github.com/Tencent/puerts/blob/master/unreal/Puerts/Source/DeclarationGenerator/Private/DeclarationGenerator.cpp#L73 搞定了可以PR改动过来
Sorry, something went wrong.
chexiongsheng
No branches or pull requests
前置阅读 | Pre-reading
Puer的版本 | Puer Version
master 25/2/18
UE的版本 | UE Version
UE 5.5.3
发生在哪个平台 | Platform
Editor(win)
错误信息 | Error Message
蓝图函数中,定义了形参,包含了单引号,生成的ue.bp.d.ts文件中会直接生成单引号,使得语法解析失败。

以下为生成的ts函数定义:
Shot(BoneName: string, BodyImpact$: boolean, VehicleImpactStruct: UE.Game.CitySample.Vehicle.Blueprint.VehicleBulletImpactStruct.VehicleBulletImpactStruct, I'mSureisGlass: boolean, Shooter: $Nullable<UE.Actor>) : void;
问题重现 | Bug reproduce
The text was updated successfully, but these errors were encountered: