Garry's Mod Wiki

Revision Difference

Enums/CONTENTS#516358

<cat>enum</cat> <enum> <description>Enumerations used by <page>util.PointContents</page> and as tracer masks.</description> <items> <item key="CONTENTS_EMPTY" value="0">Things that are not solid</item> <item key="CONTENTS_SOLID" value="1">Things that are solid</item> <item key="CONTENTS_WINDOW" value="2">Glass</item> <item key="CONTENTS_AUX" value="4⤶ <item key="CONTENTS_AUX" value="4"></item>⤶ ⤶ <item key="CONTENTS_GRATE" value="8">Bullets go through, solids don't</item>⤶ ⤶ <item key="CONTENTS_SLIME" value="1">6</item>⤶ ⤶ <item key="CONTENTS_WATER" value="3">2|Hits world but not skybox</item>⤶ ⤶ <item key="CONTENTS_BLOCKLOS" value="6">4|Things that block line of sight</item>⤶ ⤶ <item key="CONTENTS_OPAQUE" value="1">28|Things that block light</item>⤶ ⤶ <item key="CONTENTS_TESTFOGVOLUME" value="2">56</item>⤶ ⤶ <item key="CONTENTS_TEAM4" value="5">12</item>⤶ ⤶ <item key="CONTENTS_TEAM3" value="1">024</item>⤶ ⤶ <item key="CONTENTS_TEAM1" value="2">048</item>⤶ ⤶ <item key="CONTENTS_TEAM2" value="4">096</item>⤶ ⤶ <item key="CONTENTS_IGNORE_NODRAW_OPAQUE" value="8">192</item>⤶ ⤶ <item key="CONTENTS_MOVEABLE" value="1">6384</item>⤶ ⤶ <item key="CONTENTS_AREAPORTAL" value="3">2768</item>⤶ ⤶ <item key="CONTENTS_PLAYERCLIP" value="6">5536</item>⤶ ⤶ <item key="CONTENTS_MONSTERCLIP" value="1">31072</item>⤶ ⤶ <item key="CONTENTS_CURRENT_0" value="2">62144</item>⤶ ⤶ <item key="CONTENTS_CURRENT_180" value="1">048576</item>⤶ ⤶ <item key="CONTENTS_CURRENT_270" value="2">097152</item>⤶ ⤶ <item key="CONTENTS_CURRENT_90" value="5">24288</item>⤶ ⤶ <item key="CONTENTS_CURRENT_DOWN" value="8">388608</item>⤶ ⤶ <item key="CONTENTS_CURRENT_UP" value="4">194304</item>⤶ ⤶ <item key="CONTENTS_DEBRIS" value="6">7108864</item>⤶ ⤶ <item key="CONTENTS_DETAIL" value="1">34217728</item>⤶ ⤶ <item key="CONTENTS_HITBOX" value="1">073741824|Hitbox</item>⤶ ⤶ <item key="CONTENTS_LADDER" value="5">36870912|Ladder</item>⤶ ⤶ <item key="CONTENTS_MONSTER" value="3">3554432|NPCs</item>⤶ ⤶ <item key="CONTENTS_ORIGIN" value="1">6777216</item>⤶ ⤶ <item key="CONTENTS_TRANSLUCENT" value="2">68435456|Hits world but not skybox</item>⤶ ⤶ <item key="LAST_VISIBLE_CONTENTS" value="1">28|Last visible contents enumeration</item>⤶ ⤶ <item key="ALL_VISIBLE_CONTENTS" value="2">55|Sum of all the visible contents enumerations</item>⤶ </items> </enum> ⤶ ⤶ {{EnumField">CONTENTS_GRATE|8|Bullets go through, solids don't</item>⤶ ⤶ <item key="CONTENTS_SLIME" value="16}}⤶ {{EnumField">CONTENTS_WATER|32|Hits world but not skybox</item>⤶ ⤶ <item key="CONTENTS_BLOCKLOS" value="64">Things that block line of sight</item>⤶ ⤶ <item key="CONTENTS_OPAQUE" value="128">Things that block light</item>⤶ ⤶ <item key="CONTENTS_TESTFOGVOLUME" value="256}}⤶ {{EnumField">CONTENTS_TEAM4|512</item>⤶ ⤶ <item key="CONTENTS_TEAM3" value="1024}}⤶ {{EnumField">CONTENTS_TEAM1|2048</item>⤶ ⤶ <item key="CONTENTS_TEAM2" value="4096}}⤶ {{EnumField">CONTENTS_IGNORE_NODRAW_OPAQUE|8192</item>⤶ ⤶ <item key="CONTENTS_MOVEABLE" value="16384}}⤶ {{EnumField">CONTENTS_AREAPORTAL|32768</item>⤶ ⤶ <item key="CONTENTS_PLAYERCLIP" value="65536}}⤶ {{EnumField">CONTENTS_MONSTERCLIP|131072</item>⤶ ⤶ <item key="CONTENTS_CURRENT_0" value="262144}}⤶ {{EnumField">CONTENTS_CURRENT_180|1048576</item>⤶ ⤶ <item key="CONTENTS_CURRENT_270" value="2097152}}⤶ {{EnumField">CONTENTS_CURRENT_90|524288</item>⤶ ⤶ <item key="CONTENTS_CURRENT_DOWN" value="8388608}}⤶ {{EnumField">CONTENTS_CURRENT_UP|4194304</item>⤶ ⤶ <item key="CONTENTS_DEBRIS" value="67108864}}⤶ {{EnumField">CONTENTS_DETAIL|134217728</item>⤶ ⤶ <item key="CONTENTS_HITBOX" value="1073741824">Hitbox</item>⤶ ⤶ <item key="CONTENTS_LADDER" value="536870912">Ladder</item>⤶ ⤶ <item key="CONTENTS_MONSTER" value="33554432">NPCs</item>⤶ ⤶ <item key="CONTENTS_ORIGIN" value="16777216}}⤶ {{EnumField">CONTENTS_TRANSLUCENT|268435456|Hits world but not skybox</item>⤶ ⤶ <item key="LAST_VISIBLE_CONTENTS" value="128">Last visible contents enumeration</item>⤶ ⤶ <item key="ALL_VISIBLE_CONTENTS" value="255">Sum of all the visible contents enumerations</item>⤶ ⤶ }}