Revision Difference
Enums/TYPE#514961
<cat>enum</cat>⤶
<enumeration>⤶
<description>Enumerations used by <page>net.ReadType</page> and returned by <page>Global.TypeID</page></description>⤶
<fields>{{EnumField|TYPE_NONE|-1|Invalid type</fields>⤶
⤶
</enumeration>⤶
⤶
{{EnumField|TYPE_INVALID|-1|<deprecated>Use TYPE_NONE</deprecated>}}{{EnumField|TYPE_NIL|0|<page>nil</page>}}{{EnumField|TYPE_BOOL|1|<page>boolean</page>}}{{EnumField|TYPE_LIGHTUSERDATA|2|<page>light userdata</page>}}{{EnumField|TYPE_NUMBER|3|<page>number</page>}}{{EnumField|TYPE_STRING|4|<page>string</page>}}{{EnumField|TYPE_TABLE|5|<page>table</page>}}{{EnumField|TYPE_FUNCTION|6|<page>function</page>}}{{EnumField|TYPE_USERDATA|7|<page>userdata</page>}}{{EnumField|TYPE_THREAD|8|<page>thread</page>}}{{EnumField|TYPE_ENTITY|9|<page>Entity</page> and entity sub-classes including <page>Player</page>, <page>Weapon</page>, <page>NPC</page>, <page>Vehicle</page>, <page>CSEnt</page>, and <page>NextBot</page>}}{{EnumField|TYPE_VECTOR|10|<page>Vector</page>}}{{EnumField|TYPE_ANGLE|11|<page>Angle</page>}}{{EnumField|TYPE_PHYSOBJ|12|<page>PhysObj</page>}}{{EnumField|TYPE_SAVE|13|<page>ISave</page>}}{{EnumField|TYPE_RESTORE|14|<page>IRestore</page>}}{{EnumField|TYPE_DAMAGEINFO|15|<page>CTakeDamageInfo</page>}}{{EnumField|TYPE_EFFECTDATA|16|<page>CEffectData</page>}}{{EnumField|TYPE_MOVEDATA|17|<page>CMoveData</page>}}{{EnumField|TYPE_RECIPIENTFILTER|18|<page>CRecipientFilter</page>}}{{EnumField|TYPE_USERCMD|19|<page>CUserCmd</page>}}{{EnumField|TYPE_SCRIPTEDVEHICLE|20|<deprecated>Leftover from GMod 13 Beta</deprecated>}}{{EnumField|TYPE_MATERIAL|21|<page>IMaterial</page>}}{{EnumField|TYPE_PANEL|22|<page>Panel</page>}}{{EnumField|TYPE_PARTICLE|23|<page>CLuaParticle</page>}}{{EnumField|TYPE_PARTICLEEMITTER|24|<page>CLuaEmitter</page>}}{{EnumField|TYPE_TEXTURE|25|<page>ITexture</page>}}{{EnumField|TYPE_USERMSG|26|<page>bf_read</page>}}{{EnumField|TYPE_CONVAR|27|<page>ConVar</page>}}{{EnumField|TYPE_IMESH|28|<page>IMesh</page>}}{{EnumField|TYPE_MATRIX|29|<page>VMatrix</page>}}{{EnumField|TYPE_SOUND|30|<page>CSoundPatch</page>}}{{EnumField|TYPE_PIXELVISHANDLE|31|<page>pixelvis_handle_t</page>}}{{EnumField|TYPE_DLIGHT|32|dlight_t. Metatable of a <page>DynamicLight</page>}}{{EnumField|TYPE_VIDEO|33|<page>IVideoWriter</page>}}{{EnumField|TYPE_FILE|34|<page>File</page>}}{{EnumField|TYPE_LOCOMOTION|35|<page>CLuaLocomotion</page>}}{{EnumField|TYPE_PATH|36|<page>PathFollower</page>}}{{EnumField|TYPE_NAVAREA|37|<page>CNavArea</page>}}{{EnumField|TYPE_SOUNDHANDLE|38|<page>IGModAudioChannel</page>}}{{EnumField|TYPE_NAVLADDER|39|<page>CNavLadder</page>}}{{EnumField|TYPE_PARTICLESYSTEM|40|<page>CNewParticleEffect</page>}}{{EnumField|TYPE_PROJECTEDTEXTURE|41|<page>ProjectedTexture</page>}}{{EnumField|TYPE_PHYSCOLLIDE|42|<page>PhysCollide</page>}}{{EnumField|TYPE_SURFACEINFO|43|<page>SurfaceInfo</page>⤶
⤶
⤶
}}{{EnumField|TYPE_COUNT|44|Amount of TYPE_* enums}}{{EnumField|TYPE_COLOR|255|Metatable of a <page>Color</page>.⤶
⤶
<note>This doesn't actually represent a unique type returned by <page>Global.TypeID</page>, but instead is a hack for networking colors with <page>net.WriteType</page>.</note>⤶
}}⤶
}}