Class SosigLink
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class SosigLink : MonoBehaviour, IFVRDamageable, IVaporizable
- Inheritance
-
SosigLink
- Implements
-
Constructors
SosigLink()
Fields
AudEvent_JointBreak
public AudioEvent AudEvent_JointBreak
Field Value
- AudioEvent
AudEvent_JointSever
public AudioEvent AudEvent_JointSever
Field Value
- AudioEvent
BodyPart
public SosigLink.SosigBodyPart BodyPart
Field Value
- SosigLink.SosigBodyPart
C
Field Value
- Collider
CollisionBluntDamageMultiplier
public float CollisionBluntDamageMultiplier
Field Value
- float
DamMult
Field Value
- float
DamMultAVG
Field Value
- float
public List<Vector3> ExtraGibLocalPoses
Field Value
- List<Vector3>
public List<GameObject> ExtraGibPrefabs
Field Value
- List<GameObject>
HasSpawnOnDestroy
public bool HasSpawnOnDestroy
Field Value
- bool
J
Field Value
- CharacterJoint
Meshes_Severed_Both
public Mesh[] Meshes_Severed_Both
Field Value
- Mesh[]
Meshes_Severed_Bottom
public Mesh[] Meshes_Severed_Bottom
Field Value
- Mesh[]
Meshes_Severed_Top
public Mesh[] Meshes_Severed_Top
Field Value
- Mesh[]
Meshes_Whole
public Mesh[] Meshes_Whole
Field Value
- Mesh[]
O
public FVRPhysicalObject O
Field Value
- FVRPhysicalObject
R
Field Value
- Rigidbody
S
Field Value
- Sosig
SpawnOnDestroy
public FVRObject SpawnOnDestroy
Field Value
- FVRObject
StaggerMagnitude
public float StaggerMagnitude
Field Value
- float
SubMesh_Bottom
public Mesh SubMesh_Bottom
Field Value
- Mesh
SubMesh_Center
public Mesh SubMesh_Center
Field Value
- Mesh
SubMesh_Top
Field Value
- Mesh
SubMesh_Whole
public Mesh SubMesh_Whole
Field Value
- Mesh
SubRenderer
public Renderer SubRenderer
Field Value
- Renderer
public bool UsesExtraGibs
Field Value
- bool
UsesSubmesh
Field Value
- bool
Properties
IsExploded
public bool IsExploded { get; }
Property Value
- bool
Methods
BreakJoint(bool, DamageClass)
public void BreakJoint(bool isStart, Damage.DamageClass damClass)
Parameters
isStart
bool
damClass
Damage.DamageClass
ClosestPointsOnTwoLines(out Vector3, out Vector3, Vector3, Vector3, Vector3, Vector3)
public static bool ClosestPointsOnTwoLines(out Vector3 closestPointLine1, out Vector3 closestPointLine2, Vector3 linePoint1, Vector3 lineVec1, Vector3 linePoint2, Vector3 lineVec2)
Parameters
closestPointLine1
Vector3
closestPointLine2
Vector3
linePoint1
Vector3
lineVec1
Vector3
linePoint2
Vector3
lineVec2
Vector3
Returns
- bool
Damage(Damage)
public void Damage(Damage d)
Parameters
d
Damage
DamageIntegrity(Damage)
public bool DamageIntegrity(Damage d)
Parameters
d
Damage
Returns
- bool
DamageIntegrity(float, float, float, float, Vector3, Vector3, DamageClass, int)
public bool DamageIntegrity(float b, float p, float c, float t, Vector3 dir, Vector3 pos, Damage.DamageClass damClass, int iff)
Parameters
b
float
p
float
c
float
t
float
dir
Vector3
pos
Vector3
damClass
Damage.DamageClass
iff
int
Returns
- bool
DeRegisterWearable(SosigWearable)
public void DeRegisterWearable(SosigWearable w)
Parameters
w
SosigWearable
DisableWearables()
public void DisableWearables()
EnableWearables()
public void EnableWearables()
GetDamageStateIndex()
public int GetDamageStateIndex()
Returns
- int
GetHasJustBeenSevered()
public bool GetHasJustBeenSevered()
Returns
- bool
GetIntegrityRatio()
public float GetIntegrityRatio()
Returns
- float
HealIntegrity(float)
public void HealIntegrity(float percentage)
Parameters
percentage
float
HitsWearable(Vector3, Vector3, float, out SosigWearable)
public bool HitsWearable(Vector3 startPoint, Vector3 direction, float distance, out SosigWearable outwear)
Parameters
startPoint
Vector3
direction
Vector3
distance
float
outwear
SosigWearable
Returns
- bool
LinkExplodes(DamageClass)
public void LinkExplodes(Damage.DamageClass damClass)
Parameters
damClass
Damage.DamageClass
OnCollisionEnter(Collision)
public void OnCollisionEnter(Collision col)
Parameters
col
Collision
RegisterSpawnOnDestroy(FVRObject)
public void RegisterSpawnOnDestroy(FVRObject o)
Parameters
o
FVRObject
RegisterWearable(SosigWearable)
public void RegisterWearable(SosigWearable w)
Parameters
w
SosigWearable
RemoveIntegrity(float, DamageClass)
public void RemoveIntegrity(float percentage, Damage.DamageClass c)
Parameters
percentage
float
c
Damage.DamageClass
SetColDamMult(float)
public void SetColDamMult(float f)
Parameters
f
float
SetDamMultAVG(float)
public void SetDamMultAVG(float f)
Parameters
f
float
SetIntegrity(float)
public void SetIntegrity(float f)
Parameters
f
float
Update()
UpdateLocalRenderers()
public void UpdateLocalRenderers()
Vaporize(int)
public void Vaporize(int IFF)
Parameters
IFF
int