Types: Difference between revisions
Jump to navigation
Jump to search
PerikiyoXD (talk | contribs) No edit summary |
PerikiyoXD (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
These types are used in Scripting. | These types are used in Scripting. | ||
* <code>RenderTarget</code> - | * {{Side|client=1}} <code>RenderTarget</code> - client representation - Derives from <code>Surface</code> | ||
* <code>Texture</code> - | * {{Side|client=1}} <code>Texture</code> - texture - Derives from <code>Surface</code> | ||
* <code> | * {{Side|client=1}} <code>Sound</code> | ||
* {{Side|server=1}} <code>World</code> - the world | |||
* {{Side|shared=1}} <code>Client</code> - client representation | |||
* {{Side|shared=1}} <code>Effect</code> - effect (FX) | |||
* {{Side|shared=1}} <code>Event</code> - event | * {{Side|shared=1}} <code>Event</code> - event | ||
* {{Side|shared=1}} <code>Font</code> - font | * {{Side|shared=1}} <code>Font</code> - font | ||
* {{Side|shared=1}} <code>Timer</code> - timer | * {{Side|shared=1}} <code>Timer</code> - timer | ||
* {{Side|shared=1}} <code>ReflectedFunction</code> - reflected function | |||
* {{Side|shared=1}} <code>Resource</code> - resource | |||
* {{Side|shared=1}} <code>Stream</code> | |||
* {{Side|shared=1}} <code>Vec2</code> - vector of 2 numbers | * {{Side|shared=1}} <code>Vec2</code> - vector of 2 numbers | ||
* {{Side|shared=1}} <code>Vec3</code> - vector of 3 numbers | * {{Side|shared=1}} <code>Vec3</code> - vector of 3 numbers | ||
Line 24: | Line 28: | ||
* {{Side|shared=1}}<code>Element</code> - element | * {{Side|shared=1}}<code>Element</code> - element | ||
** {{Side|shared=1}} <code>Transformable</code> - (2D / 3D) positionable element | ** {{Side|shared=1}} <code>Transformable</code> - (2D / 3D) positionable element | ||
*** {{Side|client=1}} <code>Marker</code> - marker | |||
*** {{Side|shared=1}} <code>Blip</code> - blip | *** {{Side|shared=1}} <code>Blip</code> - blip | ||
*** {{Side|shared=1}} <code>Pickup</code> - pickup | *** {{Side|shared=1}} <code>Pickup</code> - pickup | ||
*** {{Side|shared=1}} <code>Entity</code> - entity | *** {{Side|shared=1}} <code>Entity</code> - entity |
Revision as of 01:19, 18 December 2020
This page hosts a list of used data types for scripting.
Abstract base types
These types aren't used directly in Scripting. They just represent abstract types used behind the scenes.
Surface
- Anything that is drawable (RenderTarget
,Texture
)
Type Inheritance
These types are used in Scripting.
Client
RenderTarget
- client representation - Derives fromSurface
Client
Texture
- texture - Derives fromSurface
Client
Sound
Server
World
- the worldShared
Client
- client representationShared
Effect
- effect (FX)Shared
Event
- eventShared
Font
- fontShared
Timer
- timerShared
ReflectedFunction
- reflected functionShared
Resource
- resourceShared
Stream
Shared
Vec2
- vector of 2 numbersShared
Vec3
- vector of 3 numbersShared
Matrix4x4
- matrix of 4 by 4 numbersShared
Element
- elementShared
Transformable
- (2D / 3D) positionable elementClient
Marker
- markerShared
Blip
- blipShared
Pickup
- pickupShared
Entity
- entityClient
Building
- building (GTA Building)Shared
Physical
- object that interacts with physicsClient
Object
- placeable objectClient
Ped
- pedestrianClient
Civilian
- civilian
Shared
Vehicle
- any vehicleServer
Train
- train
Blip : Transformable : Element
Building : Entity : Transformable : Element
Civilian : Ped : Physical : Entity : Transformable : Element
Marker : Transformable : Element
Object : Physical : Entity : Transformable : Element
Pickup : Transformable : Element
Player : Ped : Physical : Entity : Transformable : Element
Train : Vehicle : Physical : Entity : Transformable : Element
Type List
This is a list of all types used by GTAC scripting.
Type | Inherited Type | Endpoint |
---|---|---|
Blip | Transformable | Shared |
Building | Entity | Client-side |
Civilian | Ped | Client-side |
Client | - | Shared |
Effect | - | Client-side |
Element | - | Shared |
Entity | Transformable | Shared |
Event | - | Shared |
Font | - | Client-side |
Marker | Transformable | Client-side |
Matrix4x4 | - | Shared |
Object | Physical | Client-side |
Ped | Physical | Client-side |
Physical | Entity | Shared |
Pickup | Transformable | Client-side |
Player | Ped | Client-side |
ReflectedFunction | - | Shared |
RenderTarget | - | Client-side |
Resource | - | Shared |
Sound | - | Client-side |
Stream | - | Shared |
Texture | - | Client-side |
Timer | - | Shared |
Train | Vehicle | Server-side |
Transformable | Element | Shared |
Vec2 | - | Shared |
Vec3 | - | Shared |
Vehicle | Phsyical | Shared |
World | - | Server-side |