Garry's Mod Wiki

Revision Difference

baseclass.Set#513975

<function name="Set" parent="baseclass" type="libraryfunc">⤶ <description>⤶ Add a new base class that can be derived by others. This is done automatically for:⤶ * widgets⤶ * panels⤶ * drive modes⤶ * entities⤶ * weapons⤶ * gamemodes (with prefix "gamemode_")⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <file line="43-L58">lua/includes/modules/baseclass.lua</file>⤶ <args>⤶ <arg name="name" type="string">The name of this base class. Must be completely unique.</arg>⤶ <arg name="tab" type="table">The base class.</arg>⤶ </args>⤶ </function>⤶ ⤶