Skip to content
New issue

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

FSoftObjectPtr 的静态导出类型似乎缺少了一些接口 #392

Closed
GotGimhong opened this issue Apr 12, 2022 · 5 comments
Closed

FSoftObjectPtr 的静态导出类型似乎缺少了一些接口 #392

GotGimhong opened this issue Apr 12, 2022 · 5 comments

Comments

@GotGimhong
Copy link
Contributor

在最新的版本当中,FSoftObjectPtr 的静态导出类型缺少了一些接口,这些接口在 2.0.0 版本之前是有的,但是从 2.0.0 版本开始就删除了,这些接口包括:

  • IsNull
  • IsPending
  • LoadSynchronous

这是 2.0.0 版本之前的静态导出:
FSoftObjectPtr_1 x

这是最新版本的静态导出:
FSoftObjectPtr_2 x

请问有什么方法可以访问这些缺失的接口呢?还是说需要我们自己添加静态导出?

@xuyanghuang-tencent
Copy link
Collaborator

应该是只是漏了…… 方便发个PR?

@xuyanghuang-tencent xuyanghuang-tencent added the waiting for feedback This issue is waiting for user feedback label Apr 20, 2022
@GotGimhong
Copy link
Contributor Author

应该是只是漏了…… 方便发个PR?

可以的,请问基于哪个分支来发 PR 比较好呢?这次 PR 只需要改动 LuaLib_Object.cpp 这个文件,我看了一下这个文件在 master 分支和 develop 分支下是不一样的。

@xuyanghuang-tencent
Copy link
Collaborator

提到 develop 分支就行,感谢

@GotGimhong
Copy link
Contributor Author

提到 develop 分支就行,感谢

不客气,已经向 develop 分支提交了一个 PR,请见 #399

@xuyanghuang-tencent xuyanghuang-tencent added pending release This will be released on next version and removed waiting for feedback This issue is waiting for user feedback labels Apr 21, 2022
@xuyanghuang-tencent
Copy link
Collaborator

v2.2.0

@xuyanghuang-tencent xuyanghuang-tencent removed the pending release This will be released on next version label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants