diff --git a/api/CatchIo.Runtime.Character.CharacterFacade.html b/api/CatchIo.Runtime.Character.CharacterFacade.html index af2cf68..1a40149 100644 --- a/api/CatchIo.Runtime.Character.CharacterFacade.html +++ b/api/CatchIo.Runtime.Character.CharacterFacade.html @@ -1434,6 +1434,16 @@
Declaration
+ +

ForceRespawn()

+
+
+
Declaration
+
+
public void ForceRespawn()
+
+ +

GenerateFootprint(Vector3, Boolean, Single)

@@ -1591,12 +1601,12 @@
Declaration
-

Respawn(Vector3, Single, IntEventChannel)

+

Respawn(Vector3, IntEventChannel)

Declaration
-
public void Respawn(Vector3 respawnPoint, float delayTime, IntEventChannel respawnCountdownEvent)
+
public void Respawn(Vector3 respawnPoint, IntEventChannel respawnCountdownEvent)
Parameters
@@ -1613,11 +1623,6 @@
Parameters
- - - - - diff --git a/api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html b/api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html index 061d62e..8392114 100644 --- a/api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html +++ b/api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html @@ -1681,6 +1681,31 @@
Property Value
respawnPoint
System.SingledelayTime
IntEventChannel respawnCountdownEvent
+ +

RespawnDelay

+
+
+
Declaration
+
+
public float RespawnDelay { get; set; }
+
+
Property Value
+ + + + + + + + + + + + + +
TypeDescription
System.Single
+ +

Stamina

diff --git a/index.json b/index.json index debf47d..87c9446 100644 --- a/index.json +++ b/index.json @@ -277,7 +277,7 @@ "api/CatchIo.Runtime.Character.CharacterFacade.html": { "href": "api/CatchIo.Runtime.Character.CharacterFacade.html", "title": "Class CharacterFacade | Catch.io Developer Reference", - "keywords": "Class CharacterFacade Inheritance System.Object CharacterFacade Implements IPositionProvider Namespace : CatchIo.Runtime.Character Assembly : cs.temp.dll.dll Syntax public class CharacterFacade : MonoBehaviour Fields ChestOffset Declaration public readonly Vector3 ChestOffset Field Value Type Description Vector3 Footprints Declaration public GameObject[] Footprints Field Value Type Description GameObject [] HeadUpOffset Declaration public readonly Vector3 HeadUpOffset Field Value Type Description Vector3 OnAttack Declaration public Action OnAttack Field Value Type Description System.Action OnCursed Declaration public Action OnCursed Field Value Type Description System.Action < CharacterFacade > OnDamage Declaration public Action OnDamage Field Value Type Description System.Action < System.Single > OnDeath Declaration public Action OnDeath Field Value Type Description System.Action OnEnteredHidingLocal Declaration public UnityEvent OnEnteredHidingLocal Field Value Type Description UnityEvent OnEnteredHidingSpot Declaration public UnityEvent OnEnteredHidingSpot Field Value Type Description UnityEvent < HidingSpot > OnExitedHidingLocal Declaration public UnityEvent OnExitedHidingLocal Field Value Type Description UnityEvent OnExitedHidingSpot Declaration public UnityEvent OnExitedHidingSpot Field Value Type Description UnityEvent < HidingSpot > OnFootprintSoundDetected This event invoked when SoundDetector component detected other player's footprint sound. First element is footprint position and Second element is footprint direction. Declaration public UnityEvent OnFootprintSoundDetected Field Value Type Description UnityEvent < Vector3 , Vector3 > OnKnockBack Declaration public Action OnKnockBack Field Value Type Description System.Action < Vector2 , System.Single > OnRemoveCursed Declaration public Action OnRemoveCursed Field Value Type Description System.Action < CharacterFacade > OnRespawn Declaration public Action OnRespawn Field Value Type Description System.Action OnSpawn Declaration public Action OnSpawn Field Value Type Description System.Action OnSpectateEntered Declaration public UnityEvent OnSpectateEntered Field Value Type Description UnityEvent OnSpectateExited Declaration public UnityEvent OnSpectateExited Field Value Type Description UnityEvent OnStun Declaration public Action OnStun Field Value Type Description System.Action < System.Single > OnToggleInteractionIndicator Declaration public Action OnToggleInteractionIndicator Field Value Type Description System.Action < System.Boolean > Properties AttackChargeEffect Declaration public AttackChargeEffect AttackChargeEffect { get; } Property Value Type Description AttackChargeEffect AttackChargePfx Declaration public ParticleSystem AttackChargePfx { get; set; } Property Value Type Description ParticleSystem CharacterBodyDamageReceiver Declaration public CharacterBodyDamageReceiver CharacterBodyDamageReceiver { get; } Property Value Type Description CharacterBodyDamageReceiver ClosestHurtBox Declaration public HurtBox ClosestHurtBox { get; } Property Value Type Description HurtBox CurseEffect Declaration public CurseEffect CurseEffect { get; } Property Value Type Description CurseEffect DamagePipeline Declaration public EntityDamagePipeline DamagePipeline { get; } Property Value Type Description EntityDamagePipeline FadeEffect Declaration public FadeEffect FadeEffect { get; } Property Value Type Description FadeEffect HitEffect Declaration public HitEffect HitEffect { get; } Property Value Type Description HitEffect Input Declaration public CharacterInput Input { get; } Property Value Type Description CharacterInput InventoryController Declaration public InventoryController InventoryController { get; } Property Value Type Description InventoryController InvisibilityEffect Declaration public InvisibilityEffect InvisibilityEffect { get; } Property Value Type Description InvisibilityEffect IsConnectedNetwork Declaration public bool IsConnectedNetwork { get; } Property Value Type Description System.Boolean IsMine Declaration public bool IsMine { get; } Property Value Type Description System.Boolean ItemEffect Declaration public EntityItemEffect ItemEffect { get; } Property Value Type Description EntityItemEffect ItemFactory Declaration public InventoryItemFactory ItemFactory { get; } Property Value Type Description InventoryItemFactory ItemThrower Declaration public CharacterItemThrower ItemThrower { get; } Property Value Type Description CharacterItemThrower ItemUser Declaration public CharacterItemUser ItemUser { get; } Property Value Type Description CharacterItemUser MarkReceiver Declaration public CharacterMarkReceiver MarkReceiver { get; } Property Value Type Description CharacterMarkReceiver NetworkPlayer Declaration public Player NetworkPlayer { get; } Property Value Type Description Player PlayerSoundEffect Declaration public PlayerSoundEffect PlayerSoundEffect { get; } Property Value Type Description PlayerSoundEffect Renderer Declaration public CharacterRenderer Renderer { get; } Property Value Type Description CharacterRenderer Status Declaration public CharacterStatus Status { get; set; } Property Value Type Description CharacterStatus SubtleHitEffect Declaration public SubtleHitEffect SubtleHitEffect { get; } Property Value Type Description SubtleHitEffect ViewID Declaration public int ViewID { get; } Property Value Type Description System.Int32 Methods AddFootprint(GameObject) Declaration public void AddFootprint(GameObject footprint) Parameters Type Name Description GameObject footprint AddHealth(Single) Declaration public void AddHealth(float value) Parameters Type Name Description System.Single value AddStamina(Single) Declaration public void AddStamina(float value) Parameters Type Name Description System.Single value ApplyCurse() Declaration public void ApplyCurse() Cloak() Declaration public void Cloak() CreateItem(ItemData) Declaration public void CreateItem(ItemData itemData) where T : Item Parameters Type Name Description ItemData itemData Type Parameters Name Description T DisableHitboxes() Declaration public void DisableHitboxes() DiscardAllItem() Declaration public void DiscardAllItem() DiscardItem() Declaration public void DiscardItem() EnableHitboxes() Declaration public void EnableHitboxes() EnterSpectate() Declaration public void EnterSpectate() ExitSpectate() Declaration public void ExitSpectate() FadeInLocal() Declaration public void FadeInLocal() FadeInOthers() Declaration public void FadeInOthers() FadeOutLocal() Declaration public void FadeOutLocal() FadeOutOthers() Declaration public void FadeOutOthers() GenerateFootprint(Vector3, Boolean, Single) Declaration public void GenerateFootprint(Vector3 generatePos, bool flipX, float lifeTime) Parameters Type Name Description Vector3 generatePos System.Boolean flipX System.Single lifeTime GenerateSoundWave(Vector3) Declaration public void GenerateSoundWave(Vector3 generatePos) Parameters Type Name Description Vector3 generatePos GetPosition() Declaration public Vector3 GetPosition() Returns Type Description Vector3 KnockBack(KnockBackData) Declaration public void KnockBack(KnockBackData knockBackData) Parameters Type Name Description KnockBackData knockBackData PlayAttackChargeEffect() Declaration public void PlayAttackChargeEffect() PlayLocalPlayerSoundEffect() Declaration public void PlayLocalPlayerSoundEffect() RemoveCloak() Declaration public void RemoveCloak() RemoveCurse() Declaration public void RemoveCurse() Respawn(Vector3, Single, IntEventChannel) Declaration public void Respawn(Vector3 respawnPoint, float delayTime, IntEventChannel respawnCountdownEvent) Parameters Type Name Description Vector3 respawnPoint System.Single delayTime IntEventChannel respawnCountdownEvent RotateCharacterTowards(Vector2) Declaration public void RotateCharacterTowards(Vector2 direction) Parameters Type Name Description Vector2 direction StopAttackChargeEffect() Declaration public void StopAttackChargeEffect() StopPlayingChargePfx() Declaration public void StopPlayingChargePfx() Stun(Single) Declaration public void Stun(float stunDuration) Parameters Type Name Description System.Single stunDuration TakeDamage(IDamage, Int32) Declaration public void TakeDamage(IDamage damage, int attackerViewID) Parameters Type Name Description IDamage damage System.Int32 attackerViewID TakeDamage(Single, Int32, DamageSfxType) Declaration public void TakeDamage(float damage, int attackerViewID, DamageSfxType sfxType) Parameters Type Name Description System.Single damage System.Int32 attackerViewID DamageSfxType sfxType TakeDotDamage(DOTDamage, Int32) Declaration public void TakeDotDamage(DOTDamage dotDamage, int attackerViewID) Parameters Type Name Description DOTDamage dotDamage System.Int32 attackerViewID ThrowItem() Declaration public void ThrowItem() Implements IPositionProvider" + "keywords": "Class CharacterFacade Inheritance System.Object CharacterFacade Implements IPositionProvider Namespace : CatchIo.Runtime.Character Assembly : cs.temp.dll.dll Syntax public class CharacterFacade : MonoBehaviour Fields ChestOffset Declaration public readonly Vector3 ChestOffset Field Value Type Description Vector3 Footprints Declaration public GameObject[] Footprints Field Value Type Description GameObject [] HeadUpOffset Declaration public readonly Vector3 HeadUpOffset Field Value Type Description Vector3 OnAttack Declaration public Action OnAttack Field Value Type Description System.Action OnCursed Declaration public Action OnCursed Field Value Type Description System.Action < CharacterFacade > OnDamage Declaration public Action OnDamage Field Value Type Description System.Action < System.Single > OnDeath Declaration public Action OnDeath Field Value Type Description System.Action OnEnteredHidingLocal Declaration public UnityEvent OnEnteredHidingLocal Field Value Type Description UnityEvent OnEnteredHidingSpot Declaration public UnityEvent OnEnteredHidingSpot Field Value Type Description UnityEvent < HidingSpot > OnExitedHidingLocal Declaration public UnityEvent OnExitedHidingLocal Field Value Type Description UnityEvent OnExitedHidingSpot Declaration public UnityEvent OnExitedHidingSpot Field Value Type Description UnityEvent < HidingSpot > OnFootprintSoundDetected This event invoked when SoundDetector component detected other player's footprint sound. First element is footprint position and Second element is footprint direction. Declaration public UnityEvent OnFootprintSoundDetected Field Value Type Description UnityEvent < Vector3 , Vector3 > OnKnockBack Declaration public Action OnKnockBack Field Value Type Description System.Action < Vector2 , System.Single > OnRemoveCursed Declaration public Action OnRemoveCursed Field Value Type Description System.Action < CharacterFacade > OnRespawn Declaration public Action OnRespawn Field Value Type Description System.Action OnSpawn Declaration public Action OnSpawn Field Value Type Description System.Action OnSpectateEntered Declaration public UnityEvent OnSpectateEntered Field Value Type Description UnityEvent OnSpectateExited Declaration public UnityEvent OnSpectateExited Field Value Type Description UnityEvent OnStun Declaration public Action OnStun Field Value Type Description System.Action < System.Single > OnToggleInteractionIndicator Declaration public Action OnToggleInteractionIndicator Field Value Type Description System.Action < System.Boolean > Properties AttackChargeEffect Declaration public AttackChargeEffect AttackChargeEffect { get; } Property Value Type Description AttackChargeEffect AttackChargePfx Declaration public ParticleSystem AttackChargePfx { get; set; } Property Value Type Description ParticleSystem CharacterBodyDamageReceiver Declaration public CharacterBodyDamageReceiver CharacterBodyDamageReceiver { get; } Property Value Type Description CharacterBodyDamageReceiver ClosestHurtBox Declaration public HurtBox ClosestHurtBox { get; } Property Value Type Description HurtBox CurseEffect Declaration public CurseEffect CurseEffect { get; } Property Value Type Description CurseEffect DamagePipeline Declaration public EntityDamagePipeline DamagePipeline { get; } Property Value Type Description EntityDamagePipeline FadeEffect Declaration public FadeEffect FadeEffect { get; } Property Value Type Description FadeEffect HitEffect Declaration public HitEffect HitEffect { get; } Property Value Type Description HitEffect Input Declaration public CharacterInput Input { get; } Property Value Type Description CharacterInput InventoryController Declaration public InventoryController InventoryController { get; } Property Value Type Description InventoryController InvisibilityEffect Declaration public InvisibilityEffect InvisibilityEffect { get; } Property Value Type Description InvisibilityEffect IsConnectedNetwork Declaration public bool IsConnectedNetwork { get; } Property Value Type Description System.Boolean IsMine Declaration public bool IsMine { get; } Property Value Type Description System.Boolean ItemEffect Declaration public EntityItemEffect ItemEffect { get; } Property Value Type Description EntityItemEffect ItemFactory Declaration public InventoryItemFactory ItemFactory { get; } Property Value Type Description InventoryItemFactory ItemThrower Declaration public CharacterItemThrower ItemThrower { get; } Property Value Type Description CharacterItemThrower ItemUser Declaration public CharacterItemUser ItemUser { get; } Property Value Type Description CharacterItemUser MarkReceiver Declaration public CharacterMarkReceiver MarkReceiver { get; } Property Value Type Description CharacterMarkReceiver NetworkPlayer Declaration public Player NetworkPlayer { get; } Property Value Type Description Player PlayerSoundEffect Declaration public PlayerSoundEffect PlayerSoundEffect { get; } Property Value Type Description PlayerSoundEffect Renderer Declaration public CharacterRenderer Renderer { get; } Property Value Type Description CharacterRenderer Status Declaration public CharacterStatus Status { get; set; } Property Value Type Description CharacterStatus SubtleHitEffect Declaration public SubtleHitEffect SubtleHitEffect { get; } Property Value Type Description SubtleHitEffect ViewID Declaration public int ViewID { get; } Property Value Type Description System.Int32 Methods AddFootprint(GameObject) Declaration public void AddFootprint(GameObject footprint) Parameters Type Name Description GameObject footprint AddHealth(Single) Declaration public void AddHealth(float value) Parameters Type Name Description System.Single value AddStamina(Single) Declaration public void AddStamina(float value) Parameters Type Name Description System.Single value ApplyCurse() Declaration public void ApplyCurse() Cloak() Declaration public void Cloak() CreateItem(ItemData) Declaration public void CreateItem(ItemData itemData) where T : Item Parameters Type Name Description ItemData itemData Type Parameters Name Description T DisableHitboxes() Declaration public void DisableHitboxes() DiscardAllItem() Declaration public void DiscardAllItem() DiscardItem() Declaration public void DiscardItem() EnableHitboxes() Declaration public void EnableHitboxes() EnterSpectate() Declaration public void EnterSpectate() ExitSpectate() Declaration public void ExitSpectate() FadeInLocal() Declaration public void FadeInLocal() FadeInOthers() Declaration public void FadeInOthers() FadeOutLocal() Declaration public void FadeOutLocal() FadeOutOthers() Declaration public void FadeOutOthers() ForceRespawn() Declaration public void ForceRespawn() GenerateFootprint(Vector3, Boolean, Single) Declaration public void GenerateFootprint(Vector3 generatePos, bool flipX, float lifeTime) Parameters Type Name Description Vector3 generatePos System.Boolean flipX System.Single lifeTime GenerateSoundWave(Vector3) Declaration public void GenerateSoundWave(Vector3 generatePos) Parameters Type Name Description Vector3 generatePos GetPosition() Declaration public Vector3 GetPosition() Returns Type Description Vector3 KnockBack(KnockBackData) Declaration public void KnockBack(KnockBackData knockBackData) Parameters Type Name Description KnockBackData knockBackData PlayAttackChargeEffect() Declaration public void PlayAttackChargeEffect() PlayLocalPlayerSoundEffect() Declaration public void PlayLocalPlayerSoundEffect() RemoveCloak() Declaration public void RemoveCloak() RemoveCurse() Declaration public void RemoveCurse() Respawn(Vector3, IntEventChannel) Declaration public void Respawn(Vector3 respawnPoint, IntEventChannel respawnCountdownEvent) Parameters Type Name Description Vector3 respawnPoint IntEventChannel respawnCountdownEvent RotateCharacterTowards(Vector2) Declaration public void RotateCharacterTowards(Vector2 direction) Parameters Type Name Description Vector2 direction StopAttackChargeEffect() Declaration public void StopAttackChargeEffect() StopPlayingChargePfx() Declaration public void StopPlayingChargePfx() Stun(Single) Declaration public void Stun(float stunDuration) Parameters Type Name Description System.Single stunDuration TakeDamage(IDamage, Int32) Declaration public void TakeDamage(IDamage damage, int attackerViewID) Parameters Type Name Description IDamage damage System.Int32 attackerViewID TakeDamage(Single, Int32, DamageSfxType) Declaration public void TakeDamage(float damage, int attackerViewID, DamageSfxType sfxType) Parameters Type Name Description System.Single damage System.Int32 attackerViewID DamageSfxType sfxType TakeDotDamage(DOTDamage, Int32) Declaration public void TakeDotDamage(DOTDamage dotDamage, int attackerViewID) Parameters Type Name Description DOTDamage dotDamage System.Int32 attackerViewID ThrowItem() Declaration public void ThrowItem() Implements IPositionProvider" }, "api/CatchIo.Runtime.Character.CharacterInput.html": { "href": "api/CatchIo.Runtime.Character.CharacterInput.html", @@ -2077,7 +2077,7 @@ "api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html": { "href": "api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html", "title": "Class CharacterStatus | Catch.io Developer Reference", - "keywords": "Class CharacterStatus Inheritance System.Object CharacterStatus Namespace : CatchIo.Runtime.ScriptableObjects.Character Assembly : cs.temp.dll.dll Syntax public class CharacterStatus : ScriptableObject Fields ClassName Declaration public string ClassName Field Value Type Description System.String CurrentChargeDuration Declaration public float CurrentChargeDuration Field Value Type Description System.Single CurrentHidingSpot Declaration public HidingSpot CurrentHidingSpot Field Value Type Description HidingSpot CurrentLookDirectionState Declaration public EntityDirectionType CurrentLookDirectionState Field Value Type Description EntityDirectionType CurrentMoveDirection Declaration public Vector2 CurrentMoveDirection Field Value Type Description Vector2 HeavyAttackArea Declaration public float HeavyAttackArea Field Value Type Description System.Single HeavyAttackBaseHoldTime Declaration public float HeavyAttackBaseHoldTime Field Value Type Description System.Single HeavyAttackCooldown Declaration public float HeavyAttackCooldown Field Value Type Description System.Single HeavyAttackDamagePerSecond Declaration public float HeavyAttackDamagePerSecond Field Value Type Description System.Single HeavyAttackMaxChargeDamage Declaration public float HeavyAttackMaxChargeDamage Field Value Type Description System.Single HeavyAttackMaxChargeMoveSpeedPercent Declaration public float HeavyAttackMaxChargeMoveSpeedPercent Field Value Type Description System.Single HeavyAttackRange Declaration public float HeavyAttackRange Field Value Type Description System.Single HeavyAttackStaminaCost Declaration public float HeavyAttackStaminaCost Field Value Type Description System.Single HeavyBackstabMeleeDamage Declaration public float HeavyBackstabMeleeDamage Field Value Type Description System.Single HeavyMeleeBaseDamage Declaration public float HeavyMeleeBaseDamage Field Value Type Description System.Single HeavyMeleeKnockback Declaration public float HeavyMeleeKnockback Field Value Type Description System.Single HoldingItem Declaration public ItemData HoldingItem Field Value Type Description ItemData IsAiming Declaration public bool IsAiming Field Value Type Description System.Boolean IsHiding Declaration public bool IsHiding Field Value Type Description System.Boolean LightAttackArea Declaration public float LightAttackArea Field Value Type Description System.Single LightAttackCooldown Declaration public float LightAttackCooldown Field Value Type Description System.Single LightAttackRange Declaration public float LightAttackRange Field Value Type Description System.Single LightAttackStaminaCost Declaration public float LightAttackStaminaCost Field Value Type Description System.Single LightBackstabMeleeDamage Declaration public float LightBackstabMeleeDamage Field Value Type Description System.Single LightMeleeDamage Declaration public float LightMeleeDamage Field Value Type Description System.Single LightMeleeKnockback Declaration public float LightMeleeKnockback Field Value Type Description System.Single MaxHealth Declaration public float MaxHealth Field Value Type Description System.Single MaxNumberFootprints Declaration public int MaxNumberFootprints Field Value Type Description System.Int32 MaxStamina Declaration public float MaxStamina Field Value Type Description System.Single NormalizedViewVector Declaration public Vector2 NormalizedViewVector Field Value Type Description Vector2 ObserveSpeed Declaration public float ObserveSpeed Field Value Type Description System.Single OnCursedChange Declaration public UnityEvent OnCursedChange Field Value Type Description UnityEvent < GameObjectiveEventEnum > OnHealthChanged Declaration public UnityEvent OnHealthChanged Field Value Type Description UnityEvent < System.Single > OnStaminaChanged Declaration public UnityEvent OnStaminaChanged Field Value Type Description UnityEvent < System.Single > OnTryStunReapply Declaration public Action OnTryStunReapply Field Value Type Description System.Action < System.Single > RunningStaminaCost Declaration public float RunningStaminaCost Field Value Type Description System.Single RunSpeed Declaration public float RunSpeed Field Value Type Description System.Single SkinName Declaration public string SkinName Field Value Type Description System.String SneakSpeed Declaration public float SneakSpeed Field Value Type Description System.Single SpectateSpeed Declaration public float SpectateSpeed Field Value Type Description System.Single StandingStaminaRecoveryPerSec Declaration public float StandingStaminaRecoveryPerSec Field Value Type Description System.Single ThrowingStaminaCost Declaration public float ThrowingStaminaCost Field Value Type Description System.Single WaitingTimeForStaminaRecovery Declaration public float WaitingTimeForStaminaRecovery Field Value Type Description System.Single WaitingTimeForStaminaRecoveryFromZero Declaration public float WaitingTimeForStaminaRecoveryFromZero Field Value Type Description System.Single WalkingStaminaRecoveryPerSec Declaration public float WalkingStaminaRecoveryPerSec Field Value Type Description System.Single WalkSpeed Declaration public float WalkSpeed Field Value Type Description System.Single Properties CurrentActionType Declaration public CharacterActionType CurrentActionType { get; set; } Property Value Type Description CharacterActionType CurrentLookDirection Declaration public Vector2 CurrentLookDirection { get; } Property Value Type Description Vector2 CurrentMoveType Declaration public CharacterMoveType CurrentMoveType { get; set; } Property Value Type Description CharacterMoveType CurrentViewAngle Declaration public int CurrentViewAngle { get; set; } Property Value Type Description System.Int32 Detected Declaration public bool Detected { get; } Property Value Type Description System.Boolean Forward Declaration public Vector2 Forward { get; } Property Value Type Description Vector2 Health Declaration public float Health { get; } Property Value Type Description System.Single IdentityColor Declaration public Color IdentityColor { get; set; } Property Value Type Description Color IsCursed Declaration public bool IsCursed { get; } Property Value Type Description System.Boolean IsDead Declaration public bool IsDead { get; } Property Value Type Description System.Boolean IsLowStamina Declaration public bool IsLowStamina { get; } Property Value Type Description System.Boolean IsMarked Declaration public bool IsMarked { get; } Property Value Type Description System.Boolean IsObserve Declaration public bool IsObserve { get; } Property Value Type Description System.Boolean IsRecoveringStamina Declaration public bool IsRecoveringStamina { get; } Property Value Type Description System.Boolean IsSneaking Declaration public bool IsSneaking { get; } Property Value Type Description System.Boolean IsSpectated Declaration public bool IsSpectated { get; } Property Value Type Description System.Boolean IsStunned Declaration public bool IsStunned { get; } Property Value Type Description System.Boolean LockStaminaRecovery Declaration public bool LockStaminaRecovery { get; set; } Property Value Type Description System.Boolean Name Declaration public string Name { get; set; } Property Value Type Description System.String Stamina Declaration public float Stamina { get; set; } Property Value Type Description System.Single StunCoolDown Declaration public float StunCoolDown { get; } Property Value Type Description System.Single StunDuration Declaration public float StunDuration { get; set; } Property Value Type Description System.Single SubtleDamageThreshold Declaration public float SubtleDamageThreshold { get; } Property Value Type Description System.Single TakingDOTDamage Declaration public bool TakingDOTDamage { get; set; } Property Value Type Description System.Boolean Methods CanRecoverStamina(Single) Check if the player can recover its stamina based on the given time to start checking. Because our stamina recovery logic relies on time passing, this function will check the delta between the required time for start recovery and the current time. Declaration public bool CanRecoverStamina(float startTime) Parameters Type Name Description System.Single startTime The time when the previous condition has started (ex: staying still) Returns Type Description System.Boolean Can the player recover their stamina Curse() Declaration public void Curse() HasStamina(Single) Check if th player has the required amount of stamina Declaration public bool HasStamina(float staminaCost) Parameters Type Name Description System.Single staminaCost Amount to check Returns Type Description System.Boolean if player has required amount of stamina Heal(Single) Declaration public void Heal(float heal) Parameters Type Name Description System.Single heal Mark() Declaration public void Mark() RecoverStamina(Single) Recovers the player's stamina with the given amount. We use the Clamp function so the stamina will not exceed the max value. Declaration public void RecoverStamina(float staminaRecoveryAmount) Parameters Type Name Description System.Single staminaRecoveryAmount The amount of stamina to recover every second RemoveCurse() Declaration public void RemoveCurse() RemoveMark() Declaration public void RemoveMark() Reset() Declaration public void Reset() SetHealth(Single) Declaration public void SetHealth(float health) Parameters Type Name Description System.Single health SwitchObserve() Declaration public void SwitchObserve() TakeDamage(Single) Declaration public void TakeDamage(float damage) Parameters Type Name Description System.Single damage UseStamina(Single) Use given stamina amount Declaration public bool UseStamina(float staminaCost) Parameters Type Name Description System.Single staminaCost Amount to use Returns Type Description System.Boolean Player was able to use the stamina amount UseStaminaPerSec(Single) Declaration public void UseStaminaPerSec(float decreaseStaminaPerSec) Parameters Type Name Description System.Single decreaseStaminaPerSec Events OnActionTypeChanged Declaration public event Action OnActionTypeChanged Event Type Type Description System.Action < CharacterActionType > OnMoveTypeChanged Declaration public event Action OnMoveTypeChanged Event Type Type Description System.Action < CharacterMoveType >" + "keywords": "Class CharacterStatus Inheritance System.Object CharacterStatus Namespace : CatchIo.Runtime.ScriptableObjects.Character Assembly : cs.temp.dll.dll Syntax public class CharacterStatus : ScriptableObject Fields ClassName Declaration public string ClassName Field Value Type Description System.String CurrentChargeDuration Declaration public float CurrentChargeDuration Field Value Type Description System.Single CurrentHidingSpot Declaration public HidingSpot CurrentHidingSpot Field Value Type Description HidingSpot CurrentLookDirectionState Declaration public EntityDirectionType CurrentLookDirectionState Field Value Type Description EntityDirectionType CurrentMoveDirection Declaration public Vector2 CurrentMoveDirection Field Value Type Description Vector2 HeavyAttackArea Declaration public float HeavyAttackArea Field Value Type Description System.Single HeavyAttackBaseHoldTime Declaration public float HeavyAttackBaseHoldTime Field Value Type Description System.Single HeavyAttackCooldown Declaration public float HeavyAttackCooldown Field Value Type Description System.Single HeavyAttackDamagePerSecond Declaration public float HeavyAttackDamagePerSecond Field Value Type Description System.Single HeavyAttackMaxChargeDamage Declaration public float HeavyAttackMaxChargeDamage Field Value Type Description System.Single HeavyAttackMaxChargeMoveSpeedPercent Declaration public float HeavyAttackMaxChargeMoveSpeedPercent Field Value Type Description System.Single HeavyAttackRange Declaration public float HeavyAttackRange Field Value Type Description System.Single HeavyAttackStaminaCost Declaration public float HeavyAttackStaminaCost Field Value Type Description System.Single HeavyBackstabMeleeDamage Declaration public float HeavyBackstabMeleeDamage Field Value Type Description System.Single HeavyMeleeBaseDamage Declaration public float HeavyMeleeBaseDamage Field Value Type Description System.Single HeavyMeleeKnockback Declaration public float HeavyMeleeKnockback Field Value Type Description System.Single HoldingItem Declaration public ItemData HoldingItem Field Value Type Description ItemData IsAiming Declaration public bool IsAiming Field Value Type Description System.Boolean IsHiding Declaration public bool IsHiding Field Value Type Description System.Boolean LightAttackArea Declaration public float LightAttackArea Field Value Type Description System.Single LightAttackCooldown Declaration public float LightAttackCooldown Field Value Type Description System.Single LightAttackRange Declaration public float LightAttackRange Field Value Type Description System.Single LightAttackStaminaCost Declaration public float LightAttackStaminaCost Field Value Type Description System.Single LightBackstabMeleeDamage Declaration public float LightBackstabMeleeDamage Field Value Type Description System.Single LightMeleeDamage Declaration public float LightMeleeDamage Field Value Type Description System.Single LightMeleeKnockback Declaration public float LightMeleeKnockback Field Value Type Description System.Single MaxHealth Declaration public float MaxHealth Field Value Type Description System.Single MaxNumberFootprints Declaration public int MaxNumberFootprints Field Value Type Description System.Int32 MaxStamina Declaration public float MaxStamina Field Value Type Description System.Single NormalizedViewVector Declaration public Vector2 NormalizedViewVector Field Value Type Description Vector2 ObserveSpeed Declaration public float ObserveSpeed Field Value Type Description System.Single OnCursedChange Declaration public UnityEvent OnCursedChange Field Value Type Description UnityEvent < GameObjectiveEventEnum > OnHealthChanged Declaration public UnityEvent OnHealthChanged Field Value Type Description UnityEvent < System.Single > OnStaminaChanged Declaration public UnityEvent OnStaminaChanged Field Value Type Description UnityEvent < System.Single > OnTryStunReapply Declaration public Action OnTryStunReapply Field Value Type Description System.Action < System.Single > RunningStaminaCost Declaration public float RunningStaminaCost Field Value Type Description System.Single RunSpeed Declaration public float RunSpeed Field Value Type Description System.Single SkinName Declaration public string SkinName Field Value Type Description System.String SneakSpeed Declaration public float SneakSpeed Field Value Type Description System.Single SpectateSpeed Declaration public float SpectateSpeed Field Value Type Description System.Single StandingStaminaRecoveryPerSec Declaration public float StandingStaminaRecoveryPerSec Field Value Type Description System.Single ThrowingStaminaCost Declaration public float ThrowingStaminaCost Field Value Type Description System.Single WaitingTimeForStaminaRecovery Declaration public float WaitingTimeForStaminaRecovery Field Value Type Description System.Single WaitingTimeForStaminaRecoveryFromZero Declaration public float WaitingTimeForStaminaRecoveryFromZero Field Value Type Description System.Single WalkingStaminaRecoveryPerSec Declaration public float WalkingStaminaRecoveryPerSec Field Value Type Description System.Single WalkSpeed Declaration public float WalkSpeed Field Value Type Description System.Single Properties CurrentActionType Declaration public CharacterActionType CurrentActionType { get; set; } Property Value Type Description CharacterActionType CurrentLookDirection Declaration public Vector2 CurrentLookDirection { get; } Property Value Type Description Vector2 CurrentMoveType Declaration public CharacterMoveType CurrentMoveType { get; set; } Property Value Type Description CharacterMoveType CurrentViewAngle Declaration public int CurrentViewAngle { get; set; } Property Value Type Description System.Int32 Detected Declaration public bool Detected { get; } Property Value Type Description System.Boolean Forward Declaration public Vector2 Forward { get; } Property Value Type Description Vector2 Health Declaration public float Health { get; } Property Value Type Description System.Single IdentityColor Declaration public Color IdentityColor { get; set; } Property Value Type Description Color IsCursed Declaration public bool IsCursed { get; } Property Value Type Description System.Boolean IsDead Declaration public bool IsDead { get; } Property Value Type Description System.Boolean IsLowStamina Declaration public bool IsLowStamina { get; } Property Value Type Description System.Boolean IsMarked Declaration public bool IsMarked { get; } Property Value Type Description System.Boolean IsObserve Declaration public bool IsObserve { get; } Property Value Type Description System.Boolean IsRecoveringStamina Declaration public bool IsRecoveringStamina { get; } Property Value Type Description System.Boolean IsSneaking Declaration public bool IsSneaking { get; } Property Value Type Description System.Boolean IsSpectated Declaration public bool IsSpectated { get; } Property Value Type Description System.Boolean IsStunned Declaration public bool IsStunned { get; } Property Value Type Description System.Boolean LockStaminaRecovery Declaration public bool LockStaminaRecovery { get; set; } Property Value Type Description System.Boolean Name Declaration public string Name { get; set; } Property Value Type Description System.String RespawnDelay Declaration public float RespawnDelay { get; set; } Property Value Type Description System.Single Stamina Declaration public float Stamina { get; set; } Property Value Type Description System.Single StunCoolDown Declaration public float StunCoolDown { get; } Property Value Type Description System.Single StunDuration Declaration public float StunDuration { get; set; } Property Value Type Description System.Single SubtleDamageThreshold Declaration public float SubtleDamageThreshold { get; } Property Value Type Description System.Single TakingDOTDamage Declaration public bool TakingDOTDamage { get; set; } Property Value Type Description System.Boolean Methods CanRecoverStamina(Single) Check if the player can recover its stamina based on the given time to start checking. Because our stamina recovery logic relies on time passing, this function will check the delta between the required time for start recovery and the current time. Declaration public bool CanRecoverStamina(float startTime) Parameters Type Name Description System.Single startTime The time when the previous condition has started (ex: staying still) Returns Type Description System.Boolean Can the player recover their stamina Curse() Declaration public void Curse() HasStamina(Single) Check if th player has the required amount of stamina Declaration public bool HasStamina(float staminaCost) Parameters Type Name Description System.Single staminaCost Amount to check Returns Type Description System.Boolean if player has required amount of stamina Heal(Single) Declaration public void Heal(float heal) Parameters Type Name Description System.Single heal Mark() Declaration public void Mark() RecoverStamina(Single) Recovers the player's stamina with the given amount. We use the Clamp function so the stamina will not exceed the max value. Declaration public void RecoverStamina(float staminaRecoveryAmount) Parameters Type Name Description System.Single staminaRecoveryAmount The amount of stamina to recover every second RemoveCurse() Declaration public void RemoveCurse() RemoveMark() Declaration public void RemoveMark() Reset() Declaration public void Reset() SetHealth(Single) Declaration public void SetHealth(float health) Parameters Type Name Description System.Single health SwitchObserve() Declaration public void SwitchObserve() TakeDamage(Single) Declaration public void TakeDamage(float damage) Parameters Type Name Description System.Single damage UseStamina(Single) Use given stamina amount Declaration public bool UseStamina(float staminaCost) Parameters Type Name Description System.Single staminaCost Amount to use Returns Type Description System.Boolean Player was able to use the stamina amount UseStaminaPerSec(Single) Declaration public void UseStaminaPerSec(float decreaseStaminaPerSec) Parameters Type Name Description System.Single decreaseStaminaPerSec Events OnActionTypeChanged Declaration public event Action OnActionTypeChanged Event Type Type Description System.Action < CharacterActionType > OnMoveTypeChanged Declaration public event Action OnMoveTypeChanged Event Type Type Description System.Action < CharacterMoveType >" }, "api/CatchIo.Runtime.ScriptableObjects.Character.html": { "href": "api/CatchIo.Runtime.ScriptableObjects.Character.html", diff --git a/manifest.json b/manifest.json index 013a556..65c9ebe 100644 --- a/manifest.json +++ b/manifest.json @@ -688,7 +688,7 @@ "output": { ".html": { "relative_path": "api/CatchIo.Runtime.Character.CharacterFacade.html", - "hash": "M80JILH3CSHg1gJBqShksdecyXcYISEP03KIv8/XQ8E=" + "hash": "Nt9t3VBng6W73HDfDvmdmK4xTKy2Sz9NJFsZpuUUR2g=" } }, "is_incremental": false, @@ -5008,7 +5008,7 @@ "output": { ".html": { "relative_path": "api/CatchIo.Runtime.ScriptableObjects.Character.CharacterStatus.html", - "hash": "K6Lq9jAriR8KShSsdcsWP6yEEuwlRORPT7gKHbht16A=" + "hash": "24jry76vtc7tIXM7d5Zt6GGX62hVLpRwX+lzYX9vpro=" } }, "is_incremental": false, @@ -6928,7 +6928,7 @@ "output": { ".html": { "relative_path": "manual/artist-guidelines.html", - "hash": "A70YLtQZe+tPvpt7GDayexClxk6mPNPR1o+OQLRMXHk=" + "hash": "gro083KTVDcLgCytIr2NhEzBAru+mqYBzFydgs2yLPU=" } }, "is_incremental": false, diff --git a/manual/artist-guidelines.html b/manual/artist-guidelines.html index 6da2e80..c4cc728 100644 --- a/manual/artist-guidelines.html +++ b/manual/artist-guidelines.html @@ -130,9 +130,6 @@

Asset Color Palette