Barotrauma Client Doc
Barotrauma.RagdollParams.DecorativeSpriteParams Class Reference
Inheritance diagram for Barotrauma.RagdollParams.DecorativeSpriteParams:
Barotrauma.RagdollParams.SpriteParams Barotrauma.RagdollParams.SubParam Barotrauma.ISerializableEntity

Public Member Functions

 DecorativeSpriteParams (ContentXElement element, RagdollParams ragdoll)
 
override bool Deserialize (ContentXElement element=null, bool recursive=true)
 
override bool Serialize (ContentXElement element=null, bool recursive=true)
 
override void Reset ()
 
- Public Member Functions inherited from Barotrauma.RagdollParams.SpriteParams
 SpriteParams (ContentXElement element, RagdollParams ragdoll)
 
string GetTexturePath ()
 
- Public Member Functions inherited from Barotrauma.RagdollParams.SubParam
virtual string GenerateName ()
 
 SubParam (ContentXElement element, RagdollParams ragdoll)
 
virtual void SetCurrentElementAsOriginalElement ()
 
virtual void AddToEditor (ParamsEditor editor, bool recursive=true, int space=0)
 

Properties

DecorativeSprite DecorativeSprite [get]
 
- Properties inherited from Barotrauma.RagdollParams.SpriteParams
Rectangle SourceRect [get, set]
 
Vector2 Origin [get, set]
 
float Depth [get, set]
 
string Texture [get, set]
 
bool IgnoreTint [get, set]
 
Color Color [get, set]
 
Color DeadColor [get, set]
 
float DeadColorTime [get, set]
 
override string Name [get]
 
- Properties inherited from Barotrauma.RagdollParams.SubParam
virtual string Name [get, set]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
ContentXElement Element [get, set]
 
ContentXElement OriginalElement [get, protected set]
 
List< SubParamSubParams = new List<SubParam>() [get, set]
 
RagdollParams Ragdoll [get]
 
SerializableEntityEditor SerializableEntityEditor [get, protected set]
 
Dictionary< Affliction, SerializableEntityEditorAfflictionEditors [get]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Barotrauma.RagdollParams.SubParam
ContentXElement CreateElement (string name, params object[] attrs)
 

Detailed Description

Definition at line 886 of file RagdollParams.cs.

Constructor & Destructor Documentation

◆ DecorativeSpriteParams()

Barotrauma.RagdollParams.DecorativeSpriteParams.DecorativeSpriteParams ( ContentXElement  element,
RagdollParams  ragdoll 
)

Definition at line 888 of file RagdollParams.cs.

Member Function Documentation

◆ Deserialize()

override bool Barotrauma.RagdollParams.DecorativeSpriteParams.Deserialize ( ContentXElement  element = null,
bool  recursive = true 
)
virtual

Reimplemented from Barotrauma.RagdollParams.SubParam.

Definition at line 898 of file RagdollParams.cs.

◆ Reset()

override void Barotrauma.RagdollParams.DecorativeSpriteParams.Reset ( )
virtual

Reimplemented from Barotrauma.RagdollParams.SubParam.

Definition at line 912 of file RagdollParams.cs.

◆ Serialize()

override bool Barotrauma.RagdollParams.DecorativeSpriteParams.Serialize ( ContentXElement  element = null,
bool  recursive = true 
)
virtual

Reimplemented from Barotrauma.RagdollParams.SubParam.

Definition at line 905 of file RagdollParams.cs.

Property Documentation

◆ DecorativeSprite

DecorativeSprite Barotrauma.RagdollParams.DecorativeSpriteParams.DecorativeSprite
get

Definition at line 896 of file RagdollParams.cs.