Barotrauma Client Doc
|
Public Member Functions | |
override sealed void | LoadFile () |
override sealed void | UnloadFile () |
sealed override void | Sort () |
Public Member Functions inherited from Barotrauma.ContentFile | |
virtual void | Preload (Action< Sprite > addPreloadedSprite) |
virtual Md5Hash | CalculateHash () |
Protected Member Functions | |
GenericPrefabFile (ContentPackage contentPackage, ContentPath path) | |
abstract bool | MatchesSingular (Identifier identifier) |
abstract bool | MatchesPlural (Identifier identifier) |
abstract T | CreatePrefab (ContentXElement element) |
Protected Member Functions inherited from Barotrauma.ContentFile | |
ContentFile (ContentPackage contentPackage, ContentPath path) | |
Properties | |
abstract PrefabCollection< T > | Prefabs [get] |
Properties inherited from Barotrauma.ContentFile | |
bool | NotSyncedInMultiplayer [get] |
Additional Inherited Members | |
Static Public Member Functions inherited from Barotrauma.ContentFile | |
static bool | IsLegacyContentType (XElement contentFileElement, ContentPackage package, bool logWarning) |
static Result< ContentFile, ContentPackage.LoadError > | CreateFromXElement (ContentPackage contentPackage, XElement element) |
Public Attributes inherited from Barotrauma.ContentFile | |
readonly ContentPackage | ContentPackage |
readonly ContentPath | Path |
readonly Md5Hash | Hash |
Static Public Attributes inherited from Barotrauma.ContentFile | |
static readonly ImmutableHashSet< TypeInfo > | Types |
T | : | Prefab |
Definition at line 6 of file GenericPrefabFile.cs.
|
protected |
Definition at line 8 of file GenericPrefabFile.cs.
|
protectedpure virtual |
Implemented in Barotrauma.WreckAIConfigFile, Barotrauma.UpgradeModulesFile, Barotrauma.TutorialsFile, Barotrauma.TalentTreesFile, Barotrauma.TalentsFile, Barotrauma.StructureFile, Barotrauma.StartItemsFile, Barotrauma.SoundsFile, Barotrauma.SlideshowsFile, Barotrauma.RuinConfigFile, Barotrauma.ParticlesFile, Barotrauma.OutpostConfigFile, Barotrauma.NPCSetsFile, Barotrauma.NPCPersonalityTraitsFile, Barotrauma.MissionsFile, Barotrauma.LocationTypesFile, Barotrauma.LevelObjectPrefabsFile, Barotrauma.ItemFile, Barotrauma.ItemAssemblyFile, Barotrauma.FactionsFile, Barotrauma.EventManagerSettingsFile, Barotrauma.CorpsesFile, Barotrauma.CaveGenerationParametersFile, and Barotrauma.BallastFloraFile.
|
virtual |
Implements Barotrauma.ContentFile.
Definition at line 62 of file GenericPrefabFile.cs.
|
protectedpure virtual |
Implemented in Barotrauma.WreckAIConfigFile, Barotrauma.UpgradeModulesFile, Barotrauma.TutorialsFile, Barotrauma.TalentTreesFile, Barotrauma.TalentsFile, Barotrauma.StructureFile, Barotrauma.StartItemsFile, Barotrauma.SoundsFile, Barotrauma.SlideshowsFile, Barotrauma.RuinConfigFile, Barotrauma.ParticlesFile, Barotrauma.OutpostConfigFile, Barotrauma.NPCSetsFile, Barotrauma.NPCPersonalityTraitsFile, Barotrauma.MissionsFile, Barotrauma.LocationTypesFile, Barotrauma.LevelObjectPrefabsFile, Barotrauma.ItemFile, Barotrauma.ItemAssemblyFile, Barotrauma.FactionsFile, Barotrauma.EventManagerSettingsFile, Barotrauma.CorpsesFile, Barotrauma.CaveGenerationParametersFile, and Barotrauma.BallastFloraFile.
|
protectedpure virtual |
Implemented in Barotrauma.WreckAIConfigFile, Barotrauma.UpgradeModulesFile, Barotrauma.TutorialsFile, Barotrauma.TalentTreesFile, Barotrauma.TalentsFile, Barotrauma.StructureFile, Barotrauma.StartItemsFile, Barotrauma.SoundsFile, Barotrauma.SlideshowsFile, Barotrauma.RuinConfigFile, Barotrauma.ParticlesFile, Barotrauma.OutpostConfigFile, Barotrauma.NPCSetsFile, Barotrauma.NPCPersonalityTraitsFile, Barotrauma.MissionsFile, Barotrauma.LocationTypesFile, Barotrauma.LevelObjectPrefabsFile, Barotrauma.ItemFile, Barotrauma.ItemAssemblyFile, Barotrauma.FactionsFile, Barotrauma.EventManagerSettingsFile, Barotrauma.CorpsesFile, Barotrauma.CaveGenerationParametersFile, and Barotrauma.BallastFloraFile.
|
virtual |
Implements Barotrauma.ContentFile.
Definition at line 76 of file GenericPrefabFile.cs.
|
virtual |
Implements Barotrauma.ContentFile.
Definition at line 71 of file GenericPrefabFile.cs.
|
getprotected |
Definition at line 12 of file GenericPrefabFile.cs.