Good afternoon all !
I have a slot named 'pointer' in every component in my kit.
I need to call a function within the linkEvent(int eType, Link link) callback.
passing the value in 'pointer' for all types in the kit.
When I try:
myFunc(link.fromComp.pointer)
link.fromComp resolves to a short which I am led to believe is the Component ID.
... so I get an error when I build the kit:
Unknown field: short.pointer
I assume I need to cast to the type that is the particular Comp linking from or to.
How could I do this when there is no one type?
Thanks!