- Joined
- Apr 30, 2011
- Messages
- 359
[JASS="Native Variable Types"]/*
type boolean
type code
type handle
type agent extends handle
type ability extends agent
type buff extends ability
type boolexpr extends agent
type conditionfunc extends boolexpr
type filterfunc extends boolexpr
type button extends agent
type defeatcondition extends agent
type dialog extends agent
type effect extends agent
type event extends agent
type fogmodifier extends agent
type force extends agent
type gamecache extends agent
type group extends agent
type hashtable extends agent
type leaderboard extends agent
type location extends agent
type multiboard extends agent
type multiboarditem extends agent
type player extends agent
type quest extends agent
type questitem extends agent
type rect extends agent
type region extends agent
type sound extends agent
type timer extends agent
type timerdialog extends agent
type trackable extends agent
type trigger extends agent
type triggercondition extends agent
type widget extends agent
type destructable extends widget
type item extends widget
type unit extends widget
type aidifficulty extends handle
type alliancetype extends handle
type attacktype extends handle
type blendmode extends handle
type camerafield extends handle
type camerasetup extends handle
type damagetype extends handle
type effecttype extends handle
type eventid extends handle
type dialogevent extends eventid
type gameevent extends eventid
type limitop extends eventid
type playerevent extends eventid
type playerunitevent extends eventid
type unitevent extends eventid
type widgetevent extends eventid
type fogstate extends handle
type gamedifficulty extends handle
type gamespeed extends handle
type gamestate extends handle
type fgamestate extends gamestate
type igamestate extends gamestate
type gametype extends handle
type image extends handle
type itempool extends handle
type itemtype extends handle
type lightning extends handle
type mapcontrol extends handle
type mapdensity extends handle
type mapflag extends handle
type mapsetting extends handle
type mapvisibility extends handle
type pathingtype extends handle
type placement extends handle
type playercolor extends handle
type playergameresult extends handle
type playerscore extends handle
type playerslotstate extends handle
type playerstate extends handle
type race extends handle
type racepreference extends handle
type raritycontrol extends handle
type soundtype extends handle
type startlocprio extends handle
type terraindeformation extends handle
type texmapflags extends handle
type texttag extends handle
type triggeraction extends handle
type ubersplat extends handle
type unitpool extends handle
type unitstate extends handle
type unittype extends handle
type version extends handle
type volumegroup extends handle
type weapontype extends handle
type weathereffect extends handle
type integer
type real
type string
*/[/code]
now . . . .
Questions:
1. What are things inside handle types?
2. What are things inside agent types?
3. Are there "array" type?
4. If in this example; I use a widget variable, then I want to check wether if it's an unit type. What must I do?
- More to come . . .
type boolean
type code
type handle
type agent extends handle
type ability extends agent
type buff extends ability
type boolexpr extends agent
type conditionfunc extends boolexpr
type filterfunc extends boolexpr
type button extends agent
type defeatcondition extends agent
type dialog extends agent
type effect extends agent
type event extends agent
type fogmodifier extends agent
type force extends agent
type gamecache extends agent
type group extends agent
type hashtable extends agent
type leaderboard extends agent
type location extends agent
type multiboard extends agent
type multiboarditem extends agent
type player extends agent
type quest extends agent
type questitem extends agent
type rect extends agent
type region extends agent
type sound extends agent
type timer extends agent
type timerdialog extends agent
type trackable extends agent
type trigger extends agent
type triggercondition extends agent
type widget extends agent
type destructable extends widget
type item extends widget
type unit extends widget
type aidifficulty extends handle
type alliancetype extends handle
type attacktype extends handle
type blendmode extends handle
type camerafield extends handle
type camerasetup extends handle
type damagetype extends handle
type effecttype extends handle
type eventid extends handle
type dialogevent extends eventid
type gameevent extends eventid
type limitop extends eventid
type playerevent extends eventid
type playerunitevent extends eventid
type unitevent extends eventid
type widgetevent extends eventid
type fogstate extends handle
type gamedifficulty extends handle
type gamespeed extends handle
type gamestate extends handle
type fgamestate extends gamestate
type igamestate extends gamestate
type gametype extends handle
type image extends handle
type itempool extends handle
type itemtype extends handle
type lightning extends handle
type mapcontrol extends handle
type mapdensity extends handle
type mapflag extends handle
type mapsetting extends handle
type mapvisibility extends handle
type pathingtype extends handle
type placement extends handle
type playercolor extends handle
type playergameresult extends handle
type playerscore extends handle
type playerslotstate extends handle
type playerstate extends handle
type race extends handle
type racepreference extends handle
type raritycontrol extends handle
type soundtype extends handle
type startlocprio extends handle
type terraindeformation extends handle
type texmapflags extends handle
type texttag extends handle
type triggeraction extends handle
type ubersplat extends handle
type unitpool extends handle
type unitstate extends handle
type unittype extends handle
type version extends handle
type volumegroup extends handle
type weapontype extends handle
type weathereffect extends handle
type integer
type real
type string
*/[/code]
now . . . .
Questions:
1. What are things inside handle types?
2. What are things inside agent types?
3. Are there "array" type?
4. If in this example; I use a widget variable, then I want to check wether if it's an unit type. What must I do?
- More to come . . .
Last edited: