REDNODE / GAME API

PreventionAgents

classscriptedClass

extends IScriptable › ISerializable

Properties 2

NameTypeFlags
groupNameCNamescriptedprivate
requsteredAgentsarray<ref<SPreventionAgentData>>scriptedprivate

Methods 8

public final func AddAgent(ps: wref<PersistentState>)scripted
public final func CreateGroup(groupName: CName, ps: wref<PersistentState>)scripted
public final const func GetAgentsNumber() -> Int32scripted
public final const func GetAgetntByIndex(index: Int32) -> wref<PersistentState>scripted
public final const func GetGroupName() -> CNamescripted
public final const func HasAgents() -> Boolscripted
public final const func IsAgentalreadyAdded(ps: wref<PersistentState>) -> Boolscripted
public final func RemoveAgent(ps: wref<PersistentState>)scripted