|
| override void | Dispose () |
| |
| | CorpsePrefab (ContentXElement element, CorpsesFile file) |
| |
| | 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.
|
| |
| override void | Dispose () |
| |
| | Prefab (ContentFile file, Identifier identifier) |
| |
| | Prefab (ContentFile file, ContentXElement element) |
| |
| void | Dispose () |
| |
|
| Level.PositionType | SpawnPosition [get] |
| |
| int | MinMoney [get] |
| |
| int | MaxMoney [get] |
| |
| 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 | Hearing = 1.0f [get, set] |
| |
| float | ReportRange [get, protected set] |
| |
| float | FindWeaponsRange [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] |
| |
| UInt32 | UintIdentifier [get, set] |
| |
| ContentPackage? | ContentPackage [get] |
| |
| ContentPath | FilePath [get] |
| |
◆ CorpsePrefab()
◆ Dispose()
| override void Barotrauma.CorpsePrefab.Dispose |
( |
| ) |
|
◆ Get()
◆ Random()
| static CorpsePrefab Barotrauma.CorpsePrefab.Random |
( |
Rand.RandSync | sync = Rand.RandSync.Unsynced | ) |
|
|
static |
◆ Prefabs
◆ MaxMoney
| int Barotrauma.CorpsePrefab.MaxMoney |
|
get |
◆ MinMoney
| int Barotrauma.CorpsePrefab.MinMoney |
|
get |
◆ SpawnPosition
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Characters/CorpsePrefab.cs