Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_PossessSpawnData.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
class
SCR_PossessSpawnData
:
SCR_SpawnData
3
{
4
protected
RplId m_RplId;
5
9
RplId GetRplId()
10
{
11
return
m_RplId;
12
}
13
17
static
SCR_PossessSpawnData
FromRplId(RplId
id
)
18
{
19
SCR_PossessSpawnData
data
=
new
SCR_PossessSpawnData
();
20
data
.m_RplId = id;
21
return
data
;
22
}
23
28
static
SCR_PossessSpawnData
FromEntity(notnull IEntity entity)
29
{
30
RplId
id
= RplId.Invalid();
31
RplComponent rplComponent = RplComponent.Cast(entity.FindComponent(RplComponent));
32
if
(rplComponent)
33
id
= rplComponent.Id();
34
35
return
FromRplId(
id
);
36
}
37
38
protected
void
SCR_PossessSpawnData
()
39
{
40
}
41
45
override
bool
IsValid()
46
{
47
return
m_RplId.IsValid();
48
}
49
};
SCR_SpawnData
Definition:
SCR_SpawnData.c:9
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
SCR_PossessSpawnData
Definition:
SCR_PossessSpawnData.c:2
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Respawn
RequestHandling
Implementation
PossessSpawn
SCR_PossessSpawnData.c
Generated by
1.8.17