core.plugins.time-and-weather.entities.cityrp_timeweather_sky.shared
Client-side skypaint stand-in for maps that ship a static skybox. Replaces env_skypaint the same way Atmos's atmos_sky entity does: values live in local state, Think claims g_SkyPaint, and DT accessors feed the SkyPaint matproxy.
- SharedENT:CanEditVariables(ply) → booleanSource ☍
-
Refuses the sandbox variable editor; the plugin owns these values.
Parameters
- plyPlayerThe player asking to edit.
Returns
- boolean
- SharedENT:GetDTAngle(index) → AngleSource ☍
-
SkyPaint matproxy accessor for the angle-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- SharedENT:GetDTBool(index) → booleanSource ☍
-
SkyPaint matproxy accessor for the boolean-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- boolean
- SharedENT:GetDTFloat(index) → numberSource ☍
-
SkyPaint matproxy accessor for the float-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- number
- SharedENT:GetDTInt(index) → numberSource ☍
-
SkyPaint matproxy accessor for the integer-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- number
- SharedENT:GetDTString(index) → stringSource ☍
-
SkyPaint matproxy accessor for the string-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- string
- SharedENT:GetDTVector(index) → VectorSource ☍
-
SkyPaint matproxy accessor for the vector-typed sky values.
Parameters
- indexnumberDatatable slot the proxy is asking for.
Returns
- SharedENT:GetNetworkVars() → tableSource ☍
-
Full sky value set, in the shape env_skypaint exposes to the editor.
Returns
- table
- SharedENT:SetupClientValues()Source ☍
-
Binds the clientside Get/Set accessors over a local copy of the defaults, once.
- SharedENT:UpdateTransmitState() → numberSource ☍
-
Always transmits, so every client can drive the skypaint proxy from it.
Returns
- number