2020-08-26 04:22:45 +00:00
<!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.serverobject.turret.WeaponTurrets< / title > < meta content = "PSF - LoginServer - master - net.psforever.objects.serverobject.turret.WeaponTurrets" name = "description" / > < meta content = "PSF LoginServer master net.psforever.objects.serverobject.turret.WeaponTurrets" 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" > / * t h i s v a r i a b l e c a n b e u s e d b y t h e J S t o d e t e r m i n e t h e p a t h t o t h e r o o t d o c u m e n t * /
2023-04-15 19:13:59 +00:00
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_" class = "anchorToMember" > < / a > < a id = "root:_root_" class = "anchorToMember" > < / 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" class = "anchorToMember" > < / a > < a id = "net:net" class = "anchorToMember" > < / 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" class = "anchorToMember" > < / a > < a id = "psforever:psforever" class = "anchorToMember" > < / 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" class = "anchorToMember" > < / a > < a id = "objects:objects" class = "anchorToMember" > < / 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.serverobject" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "serverobject" class = "anchorToMember" > < / a > < a id = "serverobject:serverobject" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net
* Pass the message onto the turret and onto the vehicle events system.< / p > < / div > < dl class = "paramcmts block" > < dt class = "param" > target< / dt > < dd class = "cmt" > < p > the facility turret being upgraded< / p > < / dd > < dt class = "param" > upgrade< / dt > < dd class = "cmt" > < p > the upgrade being applied to the turret (usually, it's weapon system)< / p > < / dd > < / dl > < dl class = "attributes block" > < dt > See also< / dt > < dd > < span class = "cmt" > < p > < code > FacilityTurret< / code > < / p > < / span > < span class = "cmt" > < p > < code > TurretUpgrade< / code > < / p > < / span > < span class = "cmt" > < p > < code > TurretUpgrader.AddTask< / code > < / p > < / span > < span class = "cmt" > < p > < code > TurretUpgrader.ClearSpecific< / code > < / p > < / span > < span class = "cmt" > < p > < code > VehicleServiceMessage.TurretUpgrade< / code > < / p > < / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "net.psforever.objects.serverobject.turret.WeaponTurrets#FinishUpgradingMannedTurret" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "FinishUpgradingMannedTurret(target:net.psforever.objects.serverobject.turret.FacilityTurret,user:net.psforever.objects.Player,tool:net.psforever.objects.Tool,upgrade:net.psforever.objects.serverobject.turret.TurretUpgrade.Value)():Unit" class = "anchorToMember" > < / a > < a id = "FinishUpgradingMannedTurret(FacilityTurret,Player,Tool,TurretUpgrade.Value)():Unit" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net/psforever/objects/serverobject/turret/WeaponTurrets$.html#FinishUpgradingMannedTurret(target:net.psforever.objects.serverobject.turret.FacilityTurret,user:net.psforever.objects.Player,tool:net.psforever.objects.Tool,upgrade:net.psforever.objects.serverobject.turret.TurretUpgrade.Value)():Unit" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > FinishUpgradingMannedTurret< / span > < span class = "params" > (< span name = "target" > target: < a href = "FacilityTurret.html" name = "net.psforever.objects.serverobject.turret.FacilityTurret" id = "net.psforever.objects.serverobject.turret.FacilityTurret" class = "extype" > FacilityTurret< / a > < / span > , < span name = "user" > user: < a href = "../../Player.html" name = "net.psforever.objects.Player" id = "net.psforever.objects.Player" class = "extype" > Player< / a > < / span > , < span name = "tool" > tool: < a href = "../../Tool.html" name = "net.psforever.objects.Tool" id = "net.psforever.objects.Tool" class = "extype" > Tool< / a > < / span > , < span name = "upgrade" > upgrade: < a href = "TurretUpgrade$.html#ValueextendsOrdered[Enumeration.this.Value]withSerializable" name = "net.psforever.objects.serverobject.turret.TurretUpgrade.Value" id = "net.psforever.objects.serverobject.turret.TurretUpgrade.Value" class = "extmbr" > TurretUpgrade.Value< / a > < / span > )< / span > < span class = "params" > ()< / span > < span class = "result" > : < span name = "scala.Unit" class = "extype" > Unit< / span > < / span > < / span > < p class = "shortcomment cmt" > The process of upgrading a turret's weapon(s) is completed.< / p > < div class = "fullcomment" > < div class = "comment cmt" > < p > The process of upgrading a turret's weapon(s) is completed.
2020-08-26 04:22:45 +00:00
Pass the message onto the turret and onto the vehicle events system.
Additionally, force-deplete the ammunition count of the nano-dispenser used to perform the upgrade.
2023-04-15 19:13:59 +00:00
< / p > < / div > < dl class = "paramcmts block" > < dt class = "param" > target< / dt > < dd class = "cmt" > < p > the turret< / p > < / dd > < dt class = "param" > tool< / dt > < dd class = "cmt" > < p > the nano-dispenser that was used to perform this upgrade< / p > < / dd > < dt class = "param" > upgrade< / dt > < dd class = "cmt" > < p > the new upgrade state< / p > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.Any#asInstanceOf" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "asInstanceOf[T0]:T0" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net/psforever/objects/serverobject/turret/WeaponTurrets$.html#asInstanceOf[T0]:T0" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > asInstanceOf< / span > < span class = "tparams" > [< span name = "T0" > T0< / span > ]< / span > < span class = "result" > : < span name = "scala.Any.asInstanceOf.T0" class = "extype" > T0< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > Any< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#clone" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "prt" > < a id = "clone():Object" class = "anchorToMember" > < / a > < a id = "clone():AnyRef" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net/psforever/objects/serverobject/turret/WeaponTurrets$.html#clone():Object" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > clone< / span > < span class = "params" > ()< / span > < span class = "result" > : < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Attributes< / dt > < dd > protected[< span name = "java.lang" class = "extype" > lang< / span > ] < / dd > < dt > Definition Classes< / dt > < dd > AnyRef< / dd > < dt > Annotations< / dt > < dd > < span class = "name" > @throws< / span > < span class = "args" > (< span > < span class = "defval" > classOf[java.lang.CloneNotSupportedException]< / span > < / span > )< / span > < span class = "name" > @native< / span > < span class = "args" > ()< / span > < / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#eq" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "eq(x$1:AnyRef):Boolean" class = "anchorToMember" > < / a > < a id = "eq(AnyRef):Boolean" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net/psforever/objects/serverobject/turret/WeaponTurrets$.html#eq(x$1:AnyRef):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > final < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > eq< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#equals" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "equals(x$1:Object):Boolean" class = "anchorToMember" > < / a > < a id = "equals(AnyRef):Boolean" class = "anchorToMember" > < / a > < span class = "permalink" > < a href = "../../../../../net/psforever/objects/serverobject/turret/WeaponTurrets$.html#equals(x$1:Object):Boolean" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > def< / span > < / span > < span class = "symbol" > < span class = "name" > equals< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > < / span > )< / span > < span class = "result" > : < span name = "scala.Boolean" class = "extype" > Boolean< / span > < / span > < / span > < div class = "fullcomment" > < dl class = "attributes block" > < dt > Definition Classes< / dt > < dd > AnyRef → Any< / dd > < / dl > < / div > < / li > < li class = "indented0 " name = "scala.AnyRef#finalize" group = "Ungr