Barotrauma Client Doc
|
Public Member Functions | |
override void | Dispose () |
CorpsePrefab (ContentXElement element, CorpsesFile file) | |
Public Member Functions inherited from Barotrauma.HumanPrefab | |
HumanPrefab (ContentXElement element, ContentFile file, Identifier npcSetIdentifier) | |
IEnumerable< Identifier > | GetTags () |
IEnumerable< Identifier > | GetModuleFlags () |
IEnumerable< Identifier > | GetSpawnPointTags () |
JobPrefab | GetJobPrefab (Rand.RandSync randSync=Rand.RandSync.Unsynced, Func< JobPrefab, bool > predicate=null) |
void | InitializeCharacter (Character npc, ISpatialEntity positionToStayIn=null) |
bool | GiveItems (Character character, Submarine submarine, WayPoint spawnPoint, Rand.RandSync randSync=Rand.RandSync.Unsynced, bool createNetworkEvents=true) |
CharacterInfo | CreateCharacterInfo (Rand.RandSync randSync=Rand.RandSync.Unsynced) |
Creates a character info from the human prefab. If there are custom character infos defined, those are used, otherwise a randomized info is generated. More... | |
override void | Dispose () |
Public Member Functions inherited from Barotrauma.Prefab | |
Prefab (ContentFile file, Identifier identifier) | |
Prefab (ContentFile file, ContentXElement element) | |
Static Public Member Functions | |
static CorpsePrefab | Get (Identifier identifier) |
static CorpsePrefab | Random (Rand.RandSync sync=Rand.RandSync.Unsynced) |
Static Public Member Functions inherited from Barotrauma.HumanPrefab | |
static void | InitializeItem (Character character, ContentXElement itemElement, Submarine submarine, HumanPrefab humanPrefab, WayPoint spawnPoint=null, Item parentItem=null, bool createNetworkEvents=true) |
Static Public Member Functions inherited from Barotrauma.Prefab | |
static void | DisallowCallFromConstructor () |
Static Public Attributes | |
static readonly PrefabCollection< CorpsePrefab > | Prefabs = new PrefabCollection<CorpsePrefab>() |
Static Public Attributes inherited from Barotrauma.Prefab | |
static readonly ImmutableHashSet< Type > | Types |
Properties | |
Level.PositionType | SpawnPosition [get] |
int | MinMoney [get] |
int | MaxMoney [get] |
Properties inherited from Barotrauma.HumanPrefab | |
Identifier | Job [get, protected set] |
float | Commonness [get, protected set] |
float | HealthMultiplier [get, protected set] |
float | HealthMultiplierInMultiplayer [get, protected set] |
float | AimSpeed [get, protected set] |
float | AimAccuracy [get, protected set] |
float | SkillMultiplier [get, protected set] |
int | ExperiencePoints [get] |
string | Tags [get, set] |
string | ModuleFlags [get, set] |
string | SpawnPointTags [get, set] |
CampaignMode.InteractionType | CampaignInteractionType [get, protected set] |
AIObjectiveIdle.BehaviorType | Behavior [get, protected set] |
float | ReportRange [get, protected set] |
Identifier[] | PreferredOutpostModuleTypes [get, protected set] |
Identifier | Faction [get, set] |
Identifier | Group [get, set] |
bool | AllowDraggingIndefinitely [get, set] |
XElement | Element [get, protected set] |
Properties inherited from Barotrauma.PrefabWithUintIdentifier | |
UInt32 | UintIdentifier [get, set] |
Properties inherited from Barotrauma.Prefab | |
ContentPackage? | ContentPackage [get] |
ContentPath | FilePath [get] |
Additional Inherited Members | |
Public Attributes inherited from Barotrauma.HumanPrefab | |
readonly List<(ContentXElement element, float commonness)> | ItemSets = new List<(ContentXElement element, float commonness)>() |
readonly List<(ContentXElement element, float commonness)> | CustomCharacterInfos = new List<(ContentXElement element, float commonness)>() |
readonly Identifier | NpcSetIdentifier |
Public Attributes inherited from Barotrauma.Prefab | |
readonly Identifier | Identifier |
readonly ContentFile | ContentFile |
Protected Member Functions inherited from Barotrauma.PrefabWithUintIdentifier | |
PrefabWithUintIdentifier (ContentFile file, Identifier identifier) | |
PrefabWithUintIdentifier (ContentFile file, ContentXElement element) | |
Protected Member Functions inherited from Barotrauma.Prefab | |
virtual Identifier | DetermineIdentifier (XElement element) |
Definition at line 10 of file CorpsePrefab.cs.
Barotrauma.CorpsePrefab.CorpsePrefab | ( | ContentXElement | element, |
CorpsesFile | file | ||
) |
Definition at line 43 of file CorpsePrefab.cs.
|
virtual |
Implements Barotrauma.Prefab.
Definition at line 14 of file CorpsePrefab.cs.
|
static |
Definition at line 16 of file CorpsePrefab.cs.
|
static |
|
static |
Definition at line 12 of file CorpsePrefab.cs.
|
get |
Definition at line 41 of file CorpsePrefab.cs.
|
get |
Definition at line 38 of file CorpsePrefab.cs.
|
get |
Definition at line 35 of file CorpsePrefab.cs.