This is a common weapon configuration, especially for vehicle-mounted weaponry.</p></div><dlclass="paramcmts block"><dtclass="param">unk1</dt><ddclass="cmt"><p>na</p></dd><dtclass="param">unk2</dt><ddclass="cmt"><p>na</p></dd><dtclass="param">fire_mode</dt><ddclass="cmt"><p>data regarding the currently loaded ammunition type</p></dd><dtclass="param">cls1</dt><ddclass="cmt"><p>the code for the first type of object (ammunition) being constructed</p></dd><dtclass="param">guid1</dt><ddclass="cmt"><p>the globally unique id assigned to the first type of ammunition</p></dd><dtclass="param">slot1</dt><ddclass="cmt"><p>the slot where the first type of ammunition is to be installed in the weapon</p></dd><dtclass="param">ammo1</dt><ddclass="cmt"><p>the first ammunition object</p></dd><dtclass="param">cls2</dt><ddclass="cmt"><p>the code for the second type of object (ammunition) being constructed</p></dd><dtclass="param">guid2</dt><ddclass="cmt"><p>the globally unique id assigned to the second type of ammunition</p></dd><dtclass="param">slot2</dt><ddclass="cmt"><p>the slot where the second type of ammunition is to be installed in the weapon</p></dd><dtclass="param">ammo2</dt><ddclass="cmt"><p>the second ammunition object</p></dd><dt>returns</dt><ddclass="cmt"><p>a <code>WeaponData</code> object</p></dd></dl></div></li><liclass="indented0 "name="net.psforever.packet.game.objectcreate.WeaponData#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(unk1:Int,unk2:Int,fire_mode:Int,cls:Int,guid:net.psforever.types.PlanetSideGUID,parentSlot:Int,ammo:net.psforever.packet.game.objectcreate.CommonFieldData):net.psforever.packet.game.objectcreate.WeaponData"></a><aid="apply(Int,Int,Int,Int,PlanetSideGUID,Int,CommonFieldData):WeaponData"></a><spanclass="permalink"><ahref="../../../../../net/psforever/packet/game/objectcreate/WeaponData$.html#apply(unk1:Int,unk2:Int,fire_mode:Int,cls:Int,guid:net.psforever.types.PlanetSideGUID,parentSlot:Int,ammo:net.psforever.packet.game.objectcreate.CommonFieldData):net.psforever.packet.game.objectcreate.WeaponData"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="unk1">unk1: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="unk2">unk2: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="fire_mode">fire_mode: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="cls">cls: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="guid">guid: <ahref="../../../types/PlanetSideGUID.html"name="net.psforever.types.PlanetSideGUID"id="net.psforever.types.PlanetSideGUID"class="extype">PlanetSideGUID</a></span>, <spanname="parentSlot">parentSlot: <spanname="scala.Int"class="extype">Int</span></span>, <spanname="ammo">ammo: <ahref="CommonFieldData.html"name="net.psforever.packet.game.objectcreate.CommonFieldData"id="net.psforever.packet.game.objectcreate.CommonFieldData"class="extype">CommonFieldData</a></span>)</span><spanclass="result">: <ahref="WeaponData.html"name="net.psforever.packet.game.objectcreate.WeaponData"id="net.psforever.packet.game.objectcreate.WeaponData"class="extype">WeaponData</a></span></span><pclass="shortcomment cmt">Overloaded constructor for creating <code>WeaponData</code> that mandates information about the firemode and a single type of ammunition.</p><divclass="fullcomment"><divclass="comment cmt"><p>Overloaded constructor for creating <code>WeaponData</code> that mandates information about the firemode and a single type of ammunition.</p></div><dlclass="paramcmts block"><dtclass="param">unk1</dt><ddclass="cmt"><p>na</p></dd><dtclass="param">unk2</dt><ddclass="cmt"><p>na</p></dd><dtclass="param">fire_mode</dt><ddclass="cmt"><p>data regarding the currently loaded ammunition type</p></dd><dtclass="param">cls</dt><ddclass="cmt"><p>the code for the ty