This commit is contained in:
RochesterX
2025-04-18 20:11:19 -04:00
parent a7e181a900
commit ce741c87d5
450 changed files with 59358 additions and 963 deletions

View File

@@ -83,7 +83,9 @@
<h1 id="Player_Damageable" data-uid="Player.Damageable" class="text-break">Class Damageable
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 summary"><p>This class handles the player's ability to take damage, die, and respawn.
It also manages interactions like blocking, parrying, and dropping items when hit.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
@@ -316,6 +318,31 @@
</h3>
<h4 id="Player_Damageable_OnPlayerDeath" data-uid="Player.Damageable.OnPlayerDeath">OnPlayerDeath</h4>
<div class="markdown level1 summary"><p>Event triggered when a player dies.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;GameObject&gt; OnPlayerDeath</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Action&lt;T&gt;</span>&lt;<span class="xref">GameObject</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h4 id="Player_Damageable_OnPlayerPunched" data-uid="Player.Damageable.OnPlayerPunched">OnPlayerPunched</h4>
<div class="markdown level1 summary"><p>Event triggered when the player is punched.</p>
</div>
@@ -339,6 +366,31 @@
</tr>
</tbody>
</table>
<h4 id="Player_Damageable_OnPlayerRespawn" data-uid="Player.Damageable.OnPlayerRespawn">OnPlayerRespawn</h4>
<div class="markdown level1 summary"><p>Event triggered when a player respawns.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;GameObject&gt; OnPlayerRespawn</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Action&lt;T&gt;</span>&lt;<span class="xref">GameObject</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>