-
Notifications
You must be signed in to change notification settings - Fork 220
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
Question: Return object #435
Comments
Gaqme.Core.DatabaseSystem.HeroSheet -> Game.Core.DatabaseSystem.HeroSheet |
Thanks @ralcore but I get these compile error:
Line 18 is the call to the original method. This happened also before correct the object name :
|
missed that, object generic type is applied to method not invoke - this.method("GetData").invoke<Il2Cpp.Object>(); -> this.method<Il2Cpp.Object>("GetData").invoke(); |
Thanks again @ralcore The original GetData() returns Game.Core.DatabaseSystem.DataSheet.DataRecord instance Could I implement with onEnter and OnLeave? How can I rewrite? Still a long way ahead to learn for me... |
this Il2Cpp.Object would contain Game.Core.DatabaseSystem.DataSheet.DataRecord as the library does not generate bindings and |
I have this classes:
And I want to overrride the GetData method. I've tried this, but gives me error.
How can I translate the c# class Game.Core.DatabaseSystem.DataSheet.DataRecord to TS and receive this data and return this data?
The text was updated successfully, but these errors were encountered: