Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_EditableEntityStruct Interface Reference

Saved data for editable entity. More...

Inheritance diagram for SCR_EditableEntityStruct:
[legend]

Public Member Functions

void SCR_EditableEntityStruct ()
 

Static Public Member Functions

static void SerializeEntities (out notnull array< ref SCR_EditableEntityStruct > outEntries, SCR_EditorAttributeList attributeList, EEditableEntityFlag requiredFlags)
 Save all editable entities.
 
static void DeserializeEntities (notnull array< ref SCR_EditableEntityStruct > entries, SCR_EditorAttributeList attributeList=null)
 Load all editable entities.
 
static void ClearEntities (notnull array< ref SCR_EditableEntityStruct > entries)
 Delete all saved editable entities.
 
static void LogEntities (notnull array< ref SCR_EditableEntityStruct > entries, SCR_EditorAttributeList attributeList=null)
 Print out all saved editable entities.
 

Static Protected Member Functions

static void SerializeEntity (SCR_EditableEntityComponent entity, int parentID, out notnull array< ref SCR_EditableEntityStruct > outEntries, SCR_EditorAttributeList attributeList, EEditableEntityFlag requiredFlags, out array< int > entriesWithTarget, bool isParentDirty)
 
static void RequestLocalPlayerSpawn (int playerId)
 

Protected Attributes

ResourceName pf
 
bool hy
 
EEditableEntityFlag ef
 
int pi = -1
 
int ti = TARGET_NONE
 
int tv = -1
 
float px
 
float py
 
float pz
 
float qx
 
float qy
 
float qz
 
float qw
 
float sc
 
string au
 
string ap
 
int as
 
int ut
 
ref array< ref SCR_EditorAttributeStructat = {}
 
SCR_EditableEntityComponent m_Entity
 
SCR_EditableEntityComponent m_Target
 

Static Protected Attributes

static const int TARGET_NONE = -1
 
static const int TARGET_SLOT = -2
 
static SCR_CompositionSlotManagerComponent m_SlotManager
 
static IEntity m_PlayerEntity
 

Detailed Description

Saved data for editable entity.

Constructor & Destructor Documentation

◆ SCR_EditableEntityStruct()

void SCR_EditableEntityStruct.SCR_EditableEntityStruct ( )

Member Function Documentation

◆ ClearEntities()

static void SCR_EditableEntityStruct.ClearEntities ( notnull array< ref SCR_EditableEntityStruct entries)
static

Delete all saved editable entities.

Parameters
entriesAll entities saved in these entries will be deleted

◆ DeserializeEntities()

static void SCR_EditableEntityStruct.DeserializeEntities ( notnull array< ref SCR_EditableEntityStruct entries,
SCR_EditorAttributeList  attributeList = null 
)
static

Load all editable entities.

Parameters
entriesEntries to be converted into editable entities.
attributeListList of attributes which will be evaluated for each entity

◆ LogEntities()

static void SCR_EditableEntityStruct.LogEntities ( notnull array< ref SCR_EditableEntityStruct entries,
SCR_EditorAttributeList  attributeList = null 
)
static

Print out all saved editable entities.

Parameters
entriesEntries to be logged
attributeListList of attributes

◆ RequestLocalPlayerSpawn()

static void SCR_EditableEntityStruct.RequestLocalPlayerSpawn ( int  playerId)
staticprotected

◆ SerializeEntities()

static void SCR_EditableEntityStruct.SerializeEntities ( out notnull array< ref SCR_EditableEntityStruct outEntries,
SCR_EditorAttributeList  attributeList,
EEditableEntityFlag  requiredFlags 
)
static

Save all editable entities.

Parameters
[out]outEntriesArray to be filled with save entries
attributeListList of attributes which will be evaluated for each entity

◆ SerializeEntity()

static void SCR_EditableEntityStruct.SerializeEntity ( SCR_EditableEntityComponent  entity,
int  parentID,
out notnull array< ref SCR_EditableEntityStruct outEntries,
SCR_EditorAttributeList  attributeList,
EEditableEntityFlag  requiredFlags,
out array< int >  entriesWithTarget,
bool  isParentDirty 
)
staticprotected

Member Data Documentation

◆ ap

string SCR_EditableEntityStruct.ap
protected

◆ as

int SCR_EditableEntityStruct.as
protected

◆ at

ref array<ref SCR_EditorAttributeStruct> SCR_EditableEntityStruct.at = {}
protected

◆ au

string SCR_EditableEntityStruct.au
protected

◆ ef

EEditableEntityFlag SCR_EditableEntityStruct.ef
protected

◆ hy

bool SCR_EditableEntityStruct.hy
protected

◆ m_Entity

SCR_EditableEntityComponent SCR_EditableEntityStruct.m_Entity
protected

◆ m_PlayerEntity

IEntity SCR_EditableEntityStruct.m_PlayerEntity
staticprotected

◆ m_SlotManager

SCR_CompositionSlotManagerComponent SCR_EditableEntityStruct.m_SlotManager
staticprotected

◆ m_Target

SCR_EditableEntityComponent SCR_EditableEntityStruct.m_Target
protected

◆ pf

ResourceName SCR_EditableEntityStruct.pf
protected

◆ pi

int SCR_EditableEntityStruct.pi = -1
protected

◆ px

float SCR_EditableEntityStruct.px
protected

◆ py

float SCR_EditableEntityStruct.py
protected

◆ pz

float SCR_EditableEntityStruct.pz
protected

◆ qw

float SCR_EditableEntityStruct.qw
protected

◆ qx

float SCR_EditableEntityStruct.qx
protected

◆ qy

float SCR_EditableEntityStruct.qy
protected

◆ qz

float SCR_EditableEntityStruct.qz
protected

◆ sc

float SCR_EditableEntityStruct.sc
protected

◆ TARGET_NONE

const int SCR_EditableEntityStruct.TARGET_NONE = -1
staticprotected

◆ TARGET_SLOT

const int SCR_EditableEntityStruct.TARGET_SLOT = -2
staticprotected

◆ ti

int SCR_EditableEntityStruct.ti = TARGET_NONE
protected

◆ tv

int SCR_EditableEntityStruct.tv = -1
protected

◆ ut

int SCR_EditableEntityStruct.ut
protected

The documentation for this interface was generated from the following file: