• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] static method

Status
Not open for further replies.
Level 9
Joined
Mar 25, 2005
Messages
252
static method is just the same as a simple function. In other words it is a method in which you can't use the "this" variable. For example the create and allocate methods of structs are always static. Just like with the create method you must use the structs name as a prefix before the methods name: call StructName.methodName().

for more info check the readme
 
Status
Not open for further replies.
Top