I'm thinking though that most, if not all, of these callins would also make sense as unsynced versions done engine-side and this would alleviate a lot of messy serialisation. The unit callins would require allyTeam and/or LOS filtering.
The forwarded callins are:
Code: Select all
-- These callins happen on the synced side but must be forwarded to unsynced
local syncedCallInList = {
"GamePreload",
"GameStart",
"GameFrame",
"TeamDied",
"UnitCreated",
"UnitFinished",
"UnitDestroyed",
"UnitTaken",
"UnitGiven",
"UnitIdle",
}