Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PossessSpawnData.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3{
4 protected RplId m_RplId;
5 protected bool m_bSkipPreload;
6
11 {
12 return m_RplId;
13 }
14
19 {
21 data.m_RplId = id;
22 return data;
23 }
24
30 {
31 RplId id = RplId.Invalid();
32 RplComponent rplComponent = RplComponent.Cast(entity.FindComponent(RplComponent));
33 if (rplComponent)
34 id = rplComponent.Id();
35
36 return FromRplId(id);
37 }
38
39 protected void SCR_PossessSpawnData()
40 {
41 }
42
46 override bool IsValid()
47 {
48 return m_RplId.IsValid();
49 }
50
51 override void SetSkipPreload(bool skip)
52 {
53 m_bSkipPreload = skip;
54 }
55
56 override bool GetSkipPreload()
57 {
58 return m_bSkipPreload;
59 }
60};
AddonBuildInfoTool id
Get all prefabs that have the spawner data
Replication item identifier.
Definition RplId.c:14
static SCR_PossessSpawnData FromEntity(notnull IEntity entity)
override bool GetSkipPreload()
override void SetSkipPreload(bool skip)
static SCR_PossessSpawnData FromRplId(RplId id)