Related pull request: #55
You can define a type alias as follows:
type C_DOTA_BaseNPC = CDOTA_BaseNPC;
Then an explicit cast would cause the transpiler to use the alias instead of the original class. For example
unit.GetMana() ==> CDOTA_BaseNPC.GetMana(unit)
(<C_DOTA_BaseNpc>unit).GetMana() ==> C_DOTA_BaseNPC.GetMana(unit)
From now on this experimental feature will be merged into the main branch to test. Please report any issues with this mechanic here.
This feature will remain open until this experimental feature is reverted or added permanently.
Related pull request: #55
You can define a type alias as follows:
Then an explicit cast would cause the transpiler to use the alias instead of the original class. For example
From now on this experimental feature will be merged into the main branch to test. Please report any issues with this mechanic here.
This feature will remain open until this experimental feature is reverted or added permanently.