Page cover image

πŸ“— BaseClassEx

BaseClassEx is a class that represents an extended base class, it serves as an example for Inherited Classes, but you can use it if you want to

πŸ’‚ AUTHORITY

This class can be spawned on both 🟧 Client and 🟦 Server side

πŸ‘ͺ INHERITANCE

This class shares methods and events from BaseClass


🦠 Methods


GetLabel

Returns the label of the instance

β€” Returns string

local ret = my_instance:GetLabel()

SetLabel

Sets the label of the instance

my_instance:SetLabel(sLabel)
Type
Name
Default
Description

sLabel

Instance label


GetDescription

Returns the description of the instance

β€” Returns string

local ret = my_instance:GetDescription()

SetDescription

Sets the description of the instance

my_instance:SetDescription(sLabel)
Type
Name
Default
Description

sDescription

Instance description


GetColor

Returns the color of the instance

β€” Returns Color

local ret = my_instance:GetColor(tColor)

SetColor

Sets the color of the instance

my_instance:SetColor(tColor)
Type
Name
Default
Description

tColor

Instance color


Last updated

Was this helpful?