Mercury Posted August 28, 2022 Report Share Posted August 28, 2022 I'm working on dynamic event subscription and have some questions about how events currently work. Why is CComponentManager::DynamicSubscriptionNonsync only useable for nonsync? Why are messages dispatched in order of entityId? Thank you. Quote Link to comment Share on other sites More sharing options...
hyperion Posted August 28, 2022 Report Share Posted August 28, 2022 Using entityid as order is just one possibility, straight forward and easy to understand. Nothing inherent. Basically you have two types of events, those that have or might have side effects and those who don't (at least wrt simulation). The removal of a corpse for instance is a case of the latter. For events with side effects you must guarantee the same order of execution every single time, however you do it. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.