🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Registering inheritance
Hello all,
I've got a question as in subject - how to notify AS engine that registered class inherits from another one?
I'd like to call function f(Base@) in script and pass an object of derived type.
This feature hasn't been implemented yet. Maybe I'll be able to implement it for the next version (not the one currently in development but the one after that).
Until then you can register a function that takes a handle to the derived object and returns a handle to the base object.
Until then you can register a function that takes a handle to the derived object and returns a handle to the base object.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement