• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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