int Unit::level()
level · Unit
Exact signature
Section titled “Exact signature”int Unit::level()Description
Section titled “Description”Scripting VM bridge calling virtual method vtable[[field]]() to obtain effective unit or hero level.
Parameters and return type
Section titled “Parameters and return type”Return type: int
The member is called on an object. Its receiver is not repeated among this signature’s arguments.
This signature takes no additional arguments.
Read and share
Section titled “Read and share”Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.