Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_EditorAttributeStruct Interface Reference

Saved data for editor attribute. More...

Inheritance diagram for SCR_EditorAttributeStruct:

Public Member Functions

void SCR_EditorAttributeStruct ()
 

Static Public Member Functions

static void SerializeAttributes (out notnull array< ref SCR_EditorAttributeStruct > outEntries, SCR_EditorAttributeList attributeList=null, Managed item=null)
 Save all attributes for given item.
 
static void DeserializeAttributes (notnull array< ref SCR_EditorAttributeStruct > entries, SCR_EditorAttributeList attributeList=null, Managed item=null)
 Load all attributes for given item.
 
static void LogAttributes (out notnull array< ref SCR_EditorAttributeStruct > entries, SCR_EditorAttributeList attributeList=null, string prefix="")
 Print out all attributes.
 

Protected Attributes

int id
 
int ty
 
float v0
 
float v1
 
float v2
 

Detailed Description

Saved data for editor attribute.

Constructor & Destructor Documentation

◆ SCR_EditorAttributeStruct()

void SCR_EditorAttributeStruct.SCR_EditorAttributeStruct ( )

Member Function Documentation

◆ DeserializeAttributes()

static void SCR_EditorAttributeStruct.DeserializeAttributes ( notnull array< ref SCR_EditorAttributeStruct > entries,
SCR_EditorAttributeList attributeList = null,
Managed item = null )
static

Load all attributes for given item.

Parameters
entriesList of saved entries
attributeListList of attributes to be evaluated
itemTarget whose attributes will be loaded

◆ LogAttributes()

static void SCR_EditorAttributeStruct.LogAttributes ( out notnull array< ref SCR_EditorAttributeStruct > entries,
SCR_EditorAttributeList attributeList = null,
string prefix = "" )
static

Print out all attributes.

Parameters
entriesList of saved entries
attributeListList of attributes to be evaluated
prefixString added at the beginning of each print-out

◆ SerializeAttributes()

static void SCR_EditorAttributeStruct.SerializeAttributes ( out notnull array< ref SCR_EditorAttributeStruct > outEntries,
SCR_EditorAttributeList attributeList = null,
Managed item = null )
static

Save all attributes for given item.

Parameters
[out]outEntriesArray to be filled with save entries
attributeListList of attributes to be evaluated
itemTarget whose attributes will be saved

Member Data Documentation

◆ id

int SCR_EditorAttributeStruct.id
protected

◆ ty

int SCR_EditorAttributeStruct.ty
protected

◆ v0

float SCR_EditorAttributeStruct.v0
protected

◆ v1

float SCR_EditorAttributeStruct.v1
protected

◆ v2

float SCR_EditorAttributeStruct.v2
protected

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