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

Static Public Member Functions

static bool CopyDataFromOldToNewComponent (notnull IEntitySource entitySource, notnull IEntityComponentSource componentSource, notnull IEntitySource entityDestination, notnull IEntityComponentSource componentDestination)
 Copies bool, float, int, string (including ResourceName), vector and object values from the old to the new component source using World Editor API.
 
static string GetShortestVectorString (vector value)
 

Static Protected Member Functions

static bool CopyVariablesFromTo (IEntitySource entitySource, IEntityComponentSource source, array< ref ContainerIdPathEntry > path)
 

Member Function Documentation

◆ CopyDataFromOldToNewComponent()

static bool SCR_EntitySourceHelper.CopyDataFromOldToNewComponent ( notnull IEntitySource entitySource,
notnull IEntityComponentSource componentSource,
notnull IEntitySource entityDestination,
notnull IEntityComponentSource componentDestination )
static

Copies bool, float, int, string (including ResourceName), vector and object values from the old to the new component source using World Editor API.

Parameters
[in]entitySource
[in]entityDestination
[in]componentSource
[in]componentDestination
Returns
true on success, false otherwise

◆ CopyVariablesFromTo()

static bool SCR_EntitySourceHelper.CopyVariablesFromTo ( IEntitySource entitySource,
IEntityComponentSource source,
array< ref ContainerIdPathEntry > path )
staticprotected
Parameters
[in]entitySource
[in]source
[in]path
Returns

◆ GetShortestVectorString()

static string SCR_EntitySourceHelper.GetShortestVectorString ( vector value)
static
Parameters
[in]value
Returns

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