Arma Reforger Script API
Loading...
Searching...
No Matches
PersistenceConfigRule Interface Reference
Inheritance diagram for PersistenceConfigRule:
ComponentClassPersistenceConfigRule EntityClassPersistenceConfigRule PlayerPersistenceConfigRule PrefabPersistenceConfigRule

Public Member Functions

proto external int GetNativeTypePriority ()
 
proto external int NativeCompare (const PersistenceConfigRule other)
 
proto external bool IsNativeMatch (const IEntity entity)
 

Protected Member Functions

int GetTypePriority ()
 Fixed rule priority. Used to e.g. prioritze prefab over entity class if nothing else was configured. Should be unique across all rule types.
 
int Compare (const PersistenceConfigRule other)
 If the other rule has the same priority, then the details of the instance may be compared to break the tie. Expected return values: 1, 0, -1.
 
bool IsMatch (const IEntity entity)
 

Member Function Documentation

◆ Compare()

int PersistenceConfigRule.Compare ( const PersistenceConfigRule other)
protected

If the other rule has the same priority, then the details of the instance may be compared to break the tie. Expected return values: 1, 0, -1.

◆ GetNativeTypePriority()

proto external int PersistenceConfigRule.GetNativeTypePriority ( )

◆ GetTypePriority()

int PersistenceConfigRule.GetTypePriority ( )
protected

Fixed rule priority. Used to e.g. prioritze prefab over entity class if nothing else was configured. Should be unique across all rule types.

◆ IsMatch()

bool PersistenceConfigRule.IsMatch ( const IEntity entity)
protected

◆ IsNativeMatch()

proto external bool PersistenceConfigRule.IsNativeMatch ( const IEntity entity)

◆ NativeCompare()

proto external int PersistenceConfigRule.NativeCompare ( const PersistenceConfigRule other)

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