|
Barotrauma Client Doc
|
Contains character data that should be editable in the character editor. More...
Classes | |
| class | AIParams |
| class | HealthParams |
| class | InventoryParams |
| class | ParticleParams |
| class | SoundParams |
| class | SubParam |
| class | TargetParams |
Public Member Functions | |
| CharacterParams (CharacterFile file) | |
| bool | Load () |
| bool | Save (string fileNameWithoutExtension=null) |
| override bool | Reset (bool forceReload=false) |
| bool | Deserialize (XElement element=null, bool alsoChildren=true, bool recursive=true, bool loadDefaultValues=true) |
| bool | Serialize (XElement element=null, bool alsoChildren=true, bool recursive=true) |
| void | AddToEditor (ParamsEditor editor, bool alsoChildren=true, bool recursive=true, int space=0) |
| bool | AddSound () |
| void | AddInventory () |
| void | AddBloodEmitter () |
| void | AddGibEmitter () |
| void | AddDamageEmitter () |
| bool | RemoveSound (SoundParams soundParams) |
| bool | RemoveBloodEmitter (ParticleParams emitter) |
| bool | RemoveGibEmitter (ParticleParams emitter) |
| bool | RemoveDamageEmitter (ParticleParams emitter) |
| bool | RemoveInventory (InventoryParams inventory) |
Public Member Functions inherited from Barotrauma.EditableParams | |
| virtual bool | Save (string fileNameWithoutExtension=null, System.Xml.XmlWriterSettings settings=null) |
| virtual void | AddToEditor (ParamsEditor editor, int space=0) |
Static Public Member Functions | |
| static XElement | CreateVariantXml (XElement variantXML, XElement baseXML) |
| static bool | CompareGroup (Identifier group1, Identifier group2) |
Public Attributes | |
| readonly CharacterFile | File |
| readonly List< SubParam > | SubParams = new List<SubParam>() |
| readonly List< SoundParams > | Sounds = new List<SoundParams>() |
| readonly List< ParticleParams > | BloodEmitters = new List<ParticleParams>() |
| readonly List< ParticleParams > | GibEmitters = new List<ParticleParams>() |
| readonly List< ParticleParams > | DamageEmitters = new List<ParticleParams>() |
| readonly List< InventoryParams > | Inventories = new List<InventoryParams>() |
Protected Member Functions | |
| override string | GetName () |
| void | CreateSubParams () |
| bool | RemoveSubParam< T > (T subParam, IList< T > collection=null) |
| bool | TryAddSubParam< T > (ContentXElement element, Func< ContentXElement, CharacterParams, T > constructor, out T subParam, IList< T > collection=null, Func< IList< T >, bool > filter=null) |
Protected Member Functions inherited from Barotrauma.EditableParams | |
| ContentXElement | CreateElement (string name, params object[] attrs) |
| virtual bool | Deserialize (XElement element=null) |
| virtual bool | Serialize (XElement element=null) |
| virtual bool | Load (ContentPath file) |
| virtual void | UpdatePath (ContentPath fullPath) |
Additional Inherited Members | |
Protected Attributes inherited from Barotrauma.EditableParams | |
| ContentXElement | rootElement |
| XDocument | doc |
Contains character data that should be editable in the character editor.
Definition at line 18 of file CharacterParams.cs.
| Barotrauma.CharacterParams.CharacterParams | ( | CharacterFile | file | ) |
Definition at line 147 of file CharacterParams.cs.
| void Barotrauma.CharacterParams.AddBloodEmitter | ( | ) |
| void Barotrauma.CharacterParams.AddDamageEmitter | ( | ) |
| void Barotrauma.CharacterParams.AddGibEmitter | ( | ) |
| void Barotrauma.CharacterParams.AddInventory | ( | ) |
| bool Barotrauma.CharacterParams.AddSound | ( | ) |
| void Barotrauma.CharacterParams.AddToEditor | ( | ParamsEditor | editor, |
| bool | alsoChildren = true, |
||
| bool | recursive = true, |
||
| int | space = 0 |
||
| ) |
Definition at line 342 of file CharacterParams.cs.
|
static |
|
protected |
Definition at line 252 of file CharacterParams.cs.
|
static |
Definition at line 164 of file CharacterParams.cs.
| bool Barotrauma.CharacterParams.Deserialize | ( | XElement | element = null, |
| bool | alsoChildren = true, |
||
| bool | recursive = true, |
||
| bool | loadDefaultValues = true |
||
| ) |
Definition at line 310 of file CharacterParams.cs.
|
protectedvirtual |
Reimplemented from Barotrauma.EditableParams.
| bool Barotrauma.CharacterParams.Load | ( | ) |
Definition at line 197 of file CharacterParams.cs.
| bool Barotrauma.CharacterParams.RemoveBloodEmitter | ( | ParticleParams | emitter | ) |
| bool Barotrauma.CharacterParams.RemoveDamageEmitter | ( | ParticleParams | emitter | ) |
| bool Barotrauma.CharacterParams.RemoveGibEmitter | ( | ParticleParams | emitter | ) |
| bool Barotrauma.CharacterParams.RemoveInventory | ( | InventoryParams | inventory | ) |
| bool Barotrauma.CharacterParams.RemoveSound | ( | SoundParams | soundParams | ) |
|
protected |
| T | : | SubParam |
Definition at line 390 of file CharacterParams.cs.
|
virtual |
Reimplemented from Barotrauma.EditableParams.
Definition at line 239 of file CharacterParams.cs.
| bool Barotrauma.CharacterParams.Save | ( | string | fileNameWithoutExtension = null | ) |
Definition at line 226 of file CharacterParams.cs.
| bool Barotrauma.CharacterParams.Serialize | ( | XElement | element = null, |
| bool | alsoChildren = true, |
||
| bool | recursive = true |
||
| ) |
Definition at line 328 of file CharacterParams.cs.
|
protected |
| T | : | SubParam |
Definition at line 401 of file CharacterParams.cs.
| readonly List<ParticleParams> Barotrauma.CharacterParams.BloodEmitters = new List<ParticleParams>() |
Definition at line 134 of file CharacterParams.cs.
| readonly List<ParticleParams> Barotrauma.CharacterParams.DamageEmitters = new List<ParticleParams>() |
Definition at line 136 of file CharacterParams.cs.
| readonly CharacterFile Barotrauma.CharacterParams.File |
Definition at line 128 of file CharacterParams.cs.
| readonly List<ParticleParams> Barotrauma.CharacterParams.GibEmitters = new List<ParticleParams>() |
Definition at line 135 of file CharacterParams.cs.
| readonly List<InventoryParams> Barotrauma.CharacterParams.Inventories = new List<InventoryParams>() |
Definition at line 137 of file CharacterParams.cs.
| readonly List<SoundParams> Barotrauma.CharacterParams.Sounds = new List<SoundParams>() |
Definition at line 133 of file CharacterParams.cs.
Definition at line 132 of file CharacterParams.cs.
|
get |
Parameters for EnemyAIController. Not used by HumanAIController.
Definition at line 145 of file CharacterParams.cs.
|
getset |
Definition at line 123 of file CharacterParams.cs.
|
getset |
Definition at line 120 of file CharacterParams.cs.
|
get |
Definition at line 78 of file CharacterParams.cs.
|
get |
Definition at line 84 of file CharacterParams.cs.
|
get |
Definition at line 81 of file CharacterParams.cs.
|
get |
Definition at line 75 of file CharacterParams.cs.
|
getset |
Definition at line 87 of file CharacterParams.cs.
|
get |
Definition at line 39 of file CharacterParams.cs.
|
getset |
Definition at line 60 of file CharacterParams.cs.
|
get |
Definition at line 126 of file CharacterParams.cs.
|
getset |
Definition at line 111 of file CharacterParams.cs.
|
get |
Definition at line 27 of file CharacterParams.cs.
|
getset |
Definition at line 108 of file CharacterParams.cs.
|
getset |
Definition at line 117 of file CharacterParams.cs.
|
getset |
Definition at line 90 of file CharacterParams.cs.
|
get |
Definition at line 30 of file CharacterParams.cs.
|
get |
Definition at line 36 of file CharacterParams.cs.
|
get |
Definition at line 138 of file CharacterParams.cs.
|
getset |
Definition at line 99 of file CharacterParams.cs.
|
getset |
Definition at line 102 of file CharacterParams.cs.
|
get |
Definition at line 33 of file CharacterParams.cs.
|
get |
Definition at line 42 of file CharacterParams.cs.
|
getset |
Definition at line 57 of file CharacterParams.cs.
|
get |
Definition at line 155 of file CharacterParams.cs.
|
getset |
Definition at line 48 of file CharacterParams.cs.
|
getset |
Definition at line 51 of file CharacterParams.cs.
|
getset |
Definition at line 69 of file CharacterParams.cs.
|
getset |
Definition at line 96 of file CharacterParams.cs.
|
get |
Definition at line 63 of file CharacterParams.cs.
|
getset |
Definition at line 105 of file CharacterParams.cs.
|
getset |
Definition at line 114 of file CharacterParams.cs.
|
get |
Definition at line 21 of file CharacterParams.cs.
|
get |
Definition at line 24 of file CharacterParams.cs.
|
get |
Definition at line 66 of file CharacterParams.cs.
|
getset |
Definition at line 54 of file CharacterParams.cs.
|
get |
Definition at line 45 of file CharacterParams.cs.
|
getset |
Definition at line 93 of file CharacterParams.cs.
|
get |
Definition at line 130 of file CharacterParams.cs.
|
getset |
Definition at line 72 of file CharacterParams.cs.