Types: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
Line 37: Line 37:
***** {{Side|client=1}} <code>Ped</code> - pedestrian
***** {{Side|client=1}} <code>Ped</code> - pedestrian
****** {{Side|client=1}} <code>Civilian</code> - civilian
****** {{Side|client=1}} <code>Civilian</code> - civilian
****** {{Side|client=1}} <code>Player</code> - player
***** {{Side|shared=1}} <code>Vehicle</code> - any vehicle
***** {{Side|shared=1}} <code>Vehicle</code> - any vehicle
****** {{Side|server=1}} <code>Train</code> - train
****** {{Side|server=1}} <code>Train</code> - train

Revision as of 02:53, 22 April 2021


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 from Surface
  • Client Texture - texture - Derives from Surface
  • Client Sound
  • Server World - the world
  • Shared Client - client representation
  • Shared Effect - effect (FX)
  • Shared Event - event
  • Shared Font - font
  • Shared Timer - timer
  • Shared ReflectedFunction - reflected function
  • Shared Resource - resource
  • Shared Stream
  • Shared Vec2 - vector of 2 numbers
  • Shared Vec3 - vector of 3 numbers
  • Shared Matrix4x4 - matrix of 4 by 4 numbers
  • SharedElement - element
    • Shared Transformable - (2D / 3D) positionable element
      • Client Marker - marker
      • Shared Blip - blip
      • Shared Pickup - pickup
      • Shared Entity - entity
        • Client Building - building (GTA Building)
        • Shared Physical - object that interacts with physics
          • Client Object - placeable object
          • Client Ped - pedestrian
            • Client Civilian - civilian
            • Client Player - player
          • Shared Vehicle - any vehicle
            • Server 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