Barotrauma Client Doc
Barotrauma.CharacterStateInfo Class Reference
Inheritance diagram for Barotrauma.CharacterStateInfo:
Barotrauma.PosInfo

Public Member Functions

 CharacterStateInfo (Vector2 pos, float? rotation, Vector2 velocity, float? angularVelocity, float time, Direction dir, Character selectedCharacter, Item selectedItem, Item selectedSecondaryItem, AnimController.Animation animation=AnimController.Animation.None)
 
 CharacterStateInfo (Vector2 pos, float? rotation, UInt16 ID, Direction dir, Character selectedCharacter, Item selectedItem, Item selectedSecondaryItem, AnimController.Animation animation=AnimController.Animation.None)
 
- Public Member Functions inherited from Barotrauma.PosInfo
 PosInfo (Vector2 pos, float? rotation, Vector2 linearVelocity, float? angularVelocity, float time)
 
 PosInfo (Vector2 pos, float? rotation, Vector2 linearVelocity, float? angularVelocity, UInt16 ID)
 
void TransformOutToInside (Submarine submarine)
 
void TransformInToOutside ()
 
void Translate (Vector2 posAmount, float rotationAmount)
 

Public Attributes

readonly Direction Direction
 
readonly Character SelectedCharacter
 
readonly Item SelectedItem
 
readonly AnimController.Animation Animation
 
- Public Attributes inherited from Barotrauma.PosInfo
readonly float Timestamp
 
readonly UInt16 ID
 

Protected Member Functions

 CharacterStateInfo (Vector2 pos, float? rotation, Vector2 velocity, float? angularVelocity, UInt16 ID, float time, Direction dir, Character selectedCharacter, Item selectedItem, Item selectedSecondaryItem, AnimController.Animation animation=AnimController.Animation.None)
 
- Protected Member Functions inherited from Barotrauma.PosInfo
 PosInfo (Vector2 pos, float? rotation, Vector2 linearVelocity, float? angularVelocity, UInt16 ID, float time)
 

Additional Inherited Members

- Properties inherited from Barotrauma.PosInfo
Vector2 Position [get]
 
float? Rotation [get]
 
Vector2 LinearVelocity [get]
 
float? AngularVelocity [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ CharacterStateInfo() [1/3]

Barotrauma.CharacterStateInfo.CharacterStateInfo ( Vector2  pos,
float?  rotation,
Vector2  velocity,
float?  angularVelocity,
float  time,
Direction  dir,
Character  selectedCharacter,
Item  selectedItem,
Item  selectedSecondaryItem,
AnimController.Animation  animation = AnimController.Animation.None 
)

◆ CharacterStateInfo() [2/3]

Barotrauma.CharacterStateInfo.CharacterStateInfo ( Vector2  pos,
float?  rotation,
UInt16  ID,
Direction  dir,
Character  selectedCharacter,
Item  selectedItem,
Item  selectedSecondaryItem,
AnimController.Animation  animation = AnimController.Animation.None 
)

◆ CharacterStateInfo() [3/3]

Barotrauma.CharacterStateInfo.CharacterStateInfo ( Vector2  pos,
float?  rotation,
Vector2  velocity,
float?  angularVelocity,
UInt16  ID,
float  time,
Direction  dir,
Character  selectedCharacter,
Item  selectedItem,
Item  selectedSecondaryItem,
AnimController.Animation  animation = AnimController.Animation.None 
)
protected

Member Data Documentation

◆ Animation

readonly AnimController.Animation Barotrauma.CharacterStateInfo.Animation

◆ Direction

readonly Direction Barotrauma.CharacterStateInfo.Direction

◆ SelectedCharacter

readonly Character Barotrauma.CharacterStateInfo.SelectedCharacter

◆ SelectedItem

readonly Item Barotrauma.CharacterStateInfo.SelectedItem