A slot handles in essence like the member variable of an object in OoP (Object-oriented Programming). It is defined, though, as just a number. There are at least two ways to implement a slot like this, that immediately spring to mind: as an array index - so that each object holds an array of <greatest slot number> length; or as a mapping key-to-value.
Now, I wonder:
1) How much fits into a slot? How many bits are available? Or does it just save a reference (which would be of fixed width, no matter the content).
2) While there is a slot defined as <n>, does this mean all numbers in [0, n[ constitute valid slots? In other terms: Does the game allocate unnecessary space for gaps between the slot numbers (which would be the case for an array-based implementation)?
3) Are there other slot definitions possible than natural numbers? Is there a size restriction for slot definitions?
... Unfortunately, seeking for "slot" yields only information about its usage, of which I am already fairly aware.
I seem to have bad luck (Or karma?) regarding questions I would like to see answered, so I do not really bet on it, but then: Who knows.
As a meaningless boon I offer in exchange the insight that slot_agent_target_entry_point is defined twice, as a value of 11, not as a value of 0.
Oh yes, and with multiplayer components ripped out the native module is ~8 MB smaller. There does not happen to be someone who has done that without altering anything else?
Now, I wonder:
1) How much fits into a slot? How many bits are available? Or does it just save a reference (which would be of fixed width, no matter the content).
2) While there is a slot defined as <n>, does this mean all numbers in [0, n[ constitute valid slots? In other terms: Does the game allocate unnecessary space for gaps between the slot numbers (which would be the case for an array-based implementation)?
3) Are there other slot definitions possible than natural numbers? Is there a size restriction for slot definitions?
... Unfortunately, seeking for "slot" yields only information about its usage, of which I am already fairly aware.
I seem to have bad luck (Or karma?) regarding questions I would like to see answered, so I do not really bet on it, but then: Who knows.
As a meaningless boon I offer in exchange the insight that slot_agent_target_entry_point is defined twice, as a value of 11, not as a value of 0.
Oh yes, and with multiplayer components ripped out the native module is ~8 MB smaller. There does not happen to be someone who has done that without altering anything else?