Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to create attributes or actions with a new data type, maybe void *?

0
Posted

Is it possible to create attributes or actions with a new data type, maybe void *?

0

When registering to receive an Attribute/Action, it would be nice to be able to specify data (such as a void *) the simulation could pass to the callback function. This way, a single callback function could be used for more than one event. A: We support transfer of data as void *. It’s possible for an Attribute or Action to receive void *, but is not recommended. This nulls the ability to record data and use it for Record & Play, HLA, or even Graphic Display presentation.

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.