Re: How should i properly implement multiple Interfaces in one entity component?

This has already been stated in the CRYENGINE Discord but it makes sense to post it here to. Here is a Naive implementation up/cross casting by storing offsets using an intermediary helper class. ... 625bcb4eb5

You can also use an is_convertible<> argument in the StoreBase method to prevent arbitrary interfaces being defined that are not actually inherited by the derived class.
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Who is online

Users browsing this forum: No registered users and 8 guests