The subtype is reported as a number but indicates the specialization - anti-infantry, ani-vehicular, anti-air - of the suit
as indicated by the arm weapon(s).</p></div><dlclass="paramcmts block"><dtclass="param">player</dt><ddclass="cmt"><p>the player</p></dd><dt>returns</dt><ddclass="cmt"><p>the numeric subtype</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.loadouts.InfantryLoadout#DetermineSubtypeA"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="DetermineSubtypeA(suit:net.psforever.types.ExoSuitType.Value,weapon:Option[net.psforever.objects.equipment.Equipment]):Int"></a><aid="DetermineSubtypeA(types.ExoSuitType.Value,Option[Equipment]):Int"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#DetermineSubtypeA(suit:net.psforever.types.ExoSuitType.Value,weapon:Option[net.psforever.objects.equipment.Equipment]):Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">DetermineSubtypeA</span><spanclass="params">(<spanname="suit">suit: <ahref="../../types/ExoSuitType$.html#ValueextendsOrdered[Enumeration.this.Value]withSerializable"name="net.psforever.types.ExoSuitType.Value"id="net.psforever.types.ExoSuitType.Value"class="extmbr">types.ExoSuitType.Value</a></span>, <spanname="weapon">weapon: <spanname="scala.Option"class="extype">Option</span>[<ahref="../equipment/Equipment.html"name="net.psforever.objects.equipment.Equipment"id="net.psforever.objects.equipment.Equipment"class="extype">Equipment</a>]</span>)</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><pclass="shortcomment cmt">The sub-type of the player's uniform.</p><divclass="fullcomment"><divclass="comment cmt"><p>The sub-type of the player's uniform.
Applicable to mechanized assault units, mainly.
The subtype is reported as a number but indicates the specialization - anti-infantry, ani-vehicular, anti-air - of the suit
as indicated by the arm weapon(s).</p></div><dlclass="paramcmts block"><dtclass="param">suit</dt><ddclass="cmt"><p>the player's uniform;
the target is for MAX armors</p></dd><dtclass="param">weapon</dt><ddclass="cmt"><p>any weapon the player may have it his "first pistol slot;"
to a MAX, that is its "primary weapon slot"</p></dd><dt>returns</dt><ddclass="cmt"><p>the numeric subtype</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.loadouts.InfantryLoadout#DetermineSubtypeB"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="DetermineSubtypeB(suit:net.psforever.types.ExoSuitType.Value,subtype:Int):Int"></a><aid="DetermineSubtypeB(types.ExoSuitType.Value,Int):Int"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#DetermineSubtypeB(suit:net.psforever.types.ExoSuitType.Value,subtype:Int):Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">DetermineSubtypeB</span><spanclass="params">(<spanname="suit">suit: <ahref="../../types/ExoSuitType$.html#ValueextendsOrdered[Enumeration.this.Value]withSerializable"name="net.psforever.types.ExoSuitType.Value"id="net.psforever.types.ExoSuitType.Value"class="extmbr">types.ExoSuitType.Value</a></span>, <spanname="subtype">subtype: <spanname="scala.Int"class="extype">Int</span></span>)</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><pclass="shortcomment cmt">The sub-type of the player's uniform, as used in <code>FavoritesMessage</code>.<br>
The values for a specific <code>MAX</code> type is only known by knowing the subtype.</p><divclass="fullcomment"><divclass="comment cmt"><p>The sub-type of the player's uniform, as used in <code>FavoritesMessage</code>.<br>
The values for a specific <code>MAX</code> type is only known by knowing the subtype.</p></div><dlclass="paramcmts block"><dtclass="param">suit</dt><ddclass="cmt"><p>the player's uniform</p></dd><dtclass="param">subtype</dt><ddclass="cmt"><p>the mechanized assault exo-suit subtype as determined by their arm weapons</p></dd><dt>returns</dt><ddclass="cmt"><p>the numeric subtype</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.objects.loadouts.InfantryLoadout#DetermineSubtypeC"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="DetermineSubtypeC(subtype:Int):Set[net.psforever.objects.avatar.Certification]"></a><aid="DetermineSubtypeC(Int):Set[Certification]"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#DetermineSubtypeC(subtype:Int):Set[net.psforever.objects.avatar.Certification]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">DetermineSubtypeC</span><spanclass="params">(<spanname="subtype">subtype: <spanname="scala.Int"class="extype">Int</span></span>)</span><spanclass="result">: <spanname="scala.Predef.Set"class="extype">Set</span>[<ahref="../avatar/Certification.html"name="net.psforever.objects.avatar.Certification"id="net.psforever.objects.avatar.Certification"class="extype">Certification</a>]</span></span><pclass="shortcomment cmt">Assuming the exo-suit is a mechanized assault type,
use the subtype to determine what certifications would be valid for permitted access to that specific exo-suit.</p><divclass="fullcomment"><divclass="comment cmt"><p>Assuming the exo-suit is a mechanized assault type,
use the subtype to determine what certifications would be valid for permitted access to that specific exo-suit.
The "C" does not stand for "certification."
</p></div><dlclass="paramcmts block"><dtclass="param">subtype</dt><ddclass="cmt"><p>the numeric subtype</p></dd><dt>returns</dt><ddclass="cmt"><p>a <code>Set</code> of all certifications that would grant access to the mechanized assault exo-suit subtype</p></dd></dl><dlclass="attributes block"><dt>See also</dt><dd><spanclass="cmt"><p><code>CertificationType</code></p></span></dd></dl></div></li><liclass="indented0 "name="scala.Any#asInstanceOf"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="asInstanceOf[T0]:T0"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#asInstanceOf[T0]:T0"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">asInstanceOf</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="result">: <spanname="scala.Any.asInstanceOf.T0"class="extype">T0</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#clone"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="prt"><aid="clone():Object"></a><aid="clone():AnyRef"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#clone():Object"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">clone</span><spanclass="params">()</span><spanclass="result">: <spanname="scala.AnyRef"class="extype">AnyRef</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Attributes</dt><dd>protected[<spanname="java.lang"class="extype">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><spanclass="name">@throws</span><spanclass="args">(<span><spanclass="defval">classOf[java.lang.CloneNotSupportedException]</span></span>)</span><spanclass="name">@native</span><spanclass="args">()</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#eq"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="eq(x$1:AnyRef):Boolean"></a><aid="eq(AnyRef):Boolean"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#eq(x$1:AnyRef):Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">eq</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.AnyRef"class="extype">AnyRef</span></span>)</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#equals"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="equals(x$1:Object):Boolean"></a><aid="equals(AnyRef):Boolean"></a><spanclass="permalink"><ahref="../../../../net/psforever/objects/loadouts/InfantryLoadout$.html#equals(x$1:Object):Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">equals</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.AnyRef"class="extype">AnyRef</span></span>)</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#finalize"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="prt"><aid="finalize():Unit"></a><spanclass="permalink"><ahref