mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-02 20:10:24 +00:00
37 lines
25 KiB
HTML
37 lines
25 KiB
HTML
<!DOCTYPE html ><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/><title>PSF-LoginServer - master - net.psforever.objects.vital.base</title><meta content="PSF - LoginServer - master - net.psforever.objects.vital.base" name="description"/><meta content="PSF LoginServer master net.psforever.objects.vital.base" name="keywords"/><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><link href="../../../../../lib/index.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../../../lib/print.css" media="print" type="text/css" rel="stylesheet"/><link href="../../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css"/><script type="text/javascript" src="../../../../../lib/jquery.min.js"></script><script type="text/javascript" src="../../../../../lib/index.js"></script><script type="text/javascript" src="../../../../../index.js"></script><script type="text/javascript" src="../../../../../lib/scheduler.js"></script><script type="text/javascript" src="../../../../../lib/template.js"></script><script type="text/javascript">/* this variable can be used by the JS to determine the path to the root document */
|
|
var toRoot = '../../../../../';</script></head><body><div id="search"><span id="doc-title">PSF-LoginServer - <span id="doc-version">master</span></span> <span class="close-results"><span class="left"><</span> Back</span><div id="textfilter"><span class="input"><input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/"/><i class="clear material-icons"></i><i id="search-icon" class="material-icons"></i></span></div></div><div id="search-results"><div id="search-progress"><div id="progress-fill"></div></div><div id="results-content"><div id="entity-results"></div><div id="member-results"></div></div></div><div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"><div id="content-container" style="-webkit-overflow-scrolling: touch;"><div id="subpackage-spacer"><div id="packages"><h1>Packages</h1><ul><li class="indented0 " name="_root_.root" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="_root_"></a><a id="root:_root_"></a> <span class="permalink"><a href="../../../../../index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../../../index.html" title=""><span class="name">root</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented1 " name="_root_.net" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="net"></a><a id="net:net"></a> <span class="permalink"><a href="../../../../../net/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../../index.html" title=""><span class="name">net</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented2 " name="net.psforever" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="psforever"></a><a id="psforever:psforever"></a> <span class="permalink"><a href="../../../../../net/psforever/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../index.html" title=""><span class="name">psforever</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../../index.html" name="net" id="net" class="extype">net</a></dd></dl></div></li><li class="indented3 " name="net.psforever.objects" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="objects"></a><a id="objects:objects"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../index.html" title=""><span class="name">objects</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../index.html" name="net.psforever" id="net.psforever" class="extype">psforever</a></dd></dl></div></li><li class="indented4 " name="net.psforever.objects.vital" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="vital"></a><a id="vital:vital"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../index.html" title=""><span class="name">vital</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../index.html" name="net.psforever.objects" id="net.psforever.objects" class="extype">objects</a></dd></dl></div></li><li class="indented5 current" name="net.psforever.objects.vital.base" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="base"></a><a id="base:base"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><span class="name">base</span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="current-entities indented5"><a href="DamageModifiers$.html" title="" class="object"></a> <a href="DamageModifiers.html" title="Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector (like a projectile). Unlike static damage modifications which are structured like other DamageProfiles and offer purely additive or subtractive effects on the base damage, these modifiers should focus on unstructured, scaled manipulation of the value." class="trait"></a><a href="DamageModifiers.html" title="Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector (like a projectile). Unlike static damage modifications which are structured like other DamageProfiles and offer purely additive or subtractive effects on the base damage, these modifiers should focus on unstructured, scaled manipulation of the value.">DamageModifiers</a></li><li class="current-entities indented5"><span class="separator"></span> <a href="DamageReason.html" title="A wrapper for ambiguity of the "damage source" in damage calculations." class="trait"></a><a href="DamageReason.html" title="A wrapper for ambiguity of the "damage source" in damage calculations.">DamageReason</a></li><li class="current-entities indented5"><span class="separator"></span> <a href="DamageResolution$.html" title="An Enumeration of outcomes regarding what actually happened to the damage, complementing normal damage type distinction in directing damage calculations. Although some of the earlier states reflect what sort of damage might perform - Hit, Splash, etc." class="object"></a><a href="DamageResolution$.html" title="An Enumeration of outcomes regarding what actually happened to the damage, complementing normal damage type distinction in directing damage calculations. Although some of the earlier states reflect what sort of damage might perform - Hit, Splash, etc.">DamageResolution</a></li><li class="current-entities indented5"><span class="separator"></span> <a href="DamageType$.html" title="An Enumeration of the damage types not only distinguishing damage being inflicted but, more importantly, what kind of resistance is brought to bare against that damage." class="object"></a><a href="DamageType$.html" title="An Enumeration of the damage types not only distinguishing damage being inflicted but, more importantly, what kind of resistance is brought to bare against that damage.">DamageType</a></li><li class="indented5 " name="net.psforever.objects.vital.collision" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="collision"></a><a id="collision:collision"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/collision/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../collision/index.html" title=""><span class="name">collision</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.damage" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="damage"></a><a id="damage:damage"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/damage/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../damage/index.html" title=""><span class="name">damage</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.environment" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="environment"></a><a id="environment:environment"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/environment/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../environment/index.html" title=""><span class="name">environment</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.etc" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="etc"></a><a id="etc:etc"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/etc/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../etc/index.html" title=""><span class="name">etc</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.interaction" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="interaction"></a><a id="interaction:interaction"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/interaction/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../interaction/index.html" title=""><span class="name">interaction</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.projectile" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="projectile"></a><a id="projectile:projectile"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/projectile/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../projectile/index.html" title=""><span class="name">projectile</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.prop" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="prop"></a><a id="prop:prop"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/prop/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../prop/index.html" title=""><span class="name">prop</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.resistance" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="resistance"></a><a id="resistance:resistance"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/resistance/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../resistance/index.html" title=""><span class="name">resistance</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li><li class="indented5 " name="net.psforever.objects.vital.resolution" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="resolution"></a><a id="resolution:resolution"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/resolution/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../resolution/index.html" title=""><span class="name">resolution</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></dd></dl></div></li></ul></div></div><div id="content"><body class="package value"><div id="definition"><div class="big-circle package">p</div><p id="owner"><a href="../../../../index.html" name="net" id="net" class="extype">net</a>.<a href="../../../index.html" name="net.psforever" id="net.psforever" class="extype">psforever</a>.<a href="../../index.html" name="net.psforever.objects" id="net.psforever.objects" class="extype">objects</a>.<a href="../index.html" name="net.psforever.objects.vital" id="net.psforever.objects.vital" class="extype">vital</a></p><h1>base<span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/index.html" title="Permalink"><i class="material-icons"></i></a></span></h1></div><h4 id="signature" class="signature"><span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><span class="name">base</span></span></h4><div id="comment" class="fullcommenttop"></div><div id="mbrsel"><div class="toggle"></div><div id="memberfilter"><i class="material-icons arrow"></i><span class="input"><input placeholder="Filter all members" id="mbrsel-input" type="text" accesskey="/"/></span><i class="clear material-icons"></i></div><div id="filterby"><div id="order"><span class="filtertype">Ordering</span><ol><li class="alpha in"><span>Alphabetic</span></li></ol></div><div id="visbl"><span class="filtertype">Visibility</span><ol><li class="public in"><span>Public</span></li><li class="protected out"><span>Protected</span></li></ol></div></div></div><div id="template"><div id="allMembers"><div id="types" class="types members"><h3>Type Members</h3><ol><li class="indented0 " name="net.psforever.objects.vital.base.DamageModifiers" group="Ungrouped" fullComment="yes" data-isabs="true" visbl="pub"><a id="DamageModifiersextendsAnyRef"></a><a id="DamageModifiers:DamageModifiers"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/DamageModifiers.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">trait</span></span> <span class="symbol"><a href="DamageModifiers.html" title="Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector (like a projectile). Unlike static damage modifications which are structured like other DamageProfiles and offer purely additive or subtractive effects on the base damage, these modifiers should focus on unstructured, scaled manipulation of the value."><span class="name">DamageModifiers</span></a><span class="result"> extends <span name="scala.AnyRef" class="extype">AnyRef</span></span></span><p class="shortcomment cmt">Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector
|
|
(like a projectile).<br>
|
|
<br>
|
|
Unlike static damage modifications which are structured like other <code>DamageProfiles</code>
|
|
and offer purely additive or subtractive effects on the base damage,
|
|
these modifiers should focus on unstructured, scaled manipulation of the value.</p><div class="fullcomment"><div class="comment cmt"><p>Adjustments performed on the subsequent manipulations of the "base damage" value of an attack vector
|
|
(like a projectile).<br>
|
|
<br>
|
|
Unlike static damage modifications which are structured like other <code>DamageProfiles</code>
|
|
and offer purely additive or subtractive effects on the base damage,
|
|
these modifiers should focus on unstructured, scaled manipulation of the value.
|
|
The most common modifiers change the damage value based on distance between two points, called "degrading".
|
|
The list of modifiers must be allocated in a single attempt, overriding previously-set modifiers.</p></div><dl class="attributes block"><dt>See also</dt><dd><span class="cmt"><p><code>DamageCalculations.WithModifiers</code></p></span><span class="cmt"><p><code>DamageModifiers.Mod</code></p></span><span class="cmt"><p><code>DamageProfile</code></p></span></dd></dl></div></li><li class="indented0 " name="net.psforever.objects.vital.base.DamageReason" group="Ungrouped" fullComment="yes" data-isabs="true" visbl="pub"><a id="DamageReasonextendsAnyRef"></a><a id="DamageReason:DamageReason"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/DamageReason.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">trait</span></span> <span class="symbol"><a href="DamageReason.html" title="A wrapper for ambiguity of the "damage source" in damage calculations."><span class="name">DamageReason</span></a><span class="result"> extends <span name="scala.AnyRef" class="extype">AnyRef</span></span></span><p class="shortcomment cmt">A wrapper for ambiguity of the "damage source" in damage calculations.</p><div class="fullcomment"><div class="comment cmt"><p>A wrapper for ambiguity of the "damage source" in damage calculations.
|
|
The base reason does not convey any specific requirements in regards to the interaction being described.
|
|
</p></div></div></li></ol></div><div class="values members"><h3>Value Members</h3><ol><li class="indented0 " name="net.psforever.objects.vital.base.DamageModifiers" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="DamageModifiers"></a><a id="DamageModifiers:DamageModifiers"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/DamageModifiers$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="DamageModifiers$.html" title=""><span class="name">DamageModifiers</span></a></span></li><li class="indented0 " name="net.psforever.objects.vital.base.DamageResolution" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="DamageResolution"></a><a id="DamageResolution:DamageResolution"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/DamageResolution$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="DamageResolution$.html" title="An Enumeration of outcomes regarding what actually happened to the damage, complementing normal damage type distinction in directing damage calculations. Although some of the earlier states reflect what sort of damage might perform - Hit, Splash, etc."><span class="name">DamageResolution</span></a><span class="result"> extends <span name="scala.Enumeration" class="extype">Enumeration</span></span></span><p class="shortcomment cmt">An <code>Enumeration</code> of outcomes regarding what actually happened to the damage,
|
|
complementing normal damage type distinction in directing damage calculations.<br>
|
|
<br>
|
|
Although some of the earlier states reflect what sort of damage might perform - <code>Hit</code>, <code>Splash</code>, etc.</p><div class="fullcomment"><div class="comment cmt"><p>An <code>Enumeration</code> of outcomes regarding what actually happened to the damage,
|
|
complementing normal damage type distinction in directing damage calculations.<br>
|
|
<br>
|
|
Although some of the earlier states reflect what sort of damage might perform - <code>Hit</code>, <code>Splash</code>, etc. -
|
|
this state is more a communication about how that damage is interpreted by the server.
|
|
For example, some projectiles:
|
|
perform <code>Direct</code> damage, are reported by <code>HitMessage</code> packets, and resolve as <code>Hit</code>;
|
|
or, perform <code>Direct</code> damage, are reported by <code>LashDamage</code> packets, and resolve as <code>Lash</code>.
|
|
Furthermore, some projectiles:
|
|
perform <code>Splash</code> damage, are reported by <code>SplashHitMessage</code> packets, and resolve as <code>Splash</code>;
|
|
or, perform <code>Aggravated</code> damage, are reported by <code>SplashHitMessage</code> packets
|
|
and resolve either as <code>AggravatedDirect</code> or as <code>AggravatedSplash</code>.
|
|
</p></div></div></li><li class="indented0 " name="net.psforever.objects.vital.base.DamageType" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="DamageType"></a><a id="DamageType:DamageType"></a> <span class="permalink"><a href="../../../../../net/psforever/objects/vital/base/DamageType$.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><a href="DamageType$.html" title="An Enumeration of the damage types not only distinguishing damage being inflicted but, more importantly, what kind of resistance is brought to bare against that damage."><span class="name">DamageType</span></a><span class="result"> extends <span name="scala.Enumeration" class="extype">Enumeration</span></span></span><p class="shortcomment cmt">An <code>Enumeration</code> of the damage types
|
|
not only distinguishing damage being inflicted
|
|
but, more importantly, what kind of resistance is brought to bare against that damage.</p><div class="fullcomment"><div class="comment cmt"><p>An <code>Enumeration</code> of the damage types
|
|
not only distinguishing damage being inflicted
|
|
but, more importantly, what kind of resistance is brought to bare against that damage.
|
|
For additional types exclusive to aggravation, refer to <code>Aura</code>.
|
|
</p></div></div></li></ol></div></div><div id="inheritedMembers"></div><div id="groupedMembers"><div name="Ungrouped" class="group"><h3>Ungrouped</h3></div></div></div><div id="tooltip"></div><div id="footer"></div></body></div></div></div></body></html>
|