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.packet.game.ObjectAttachMessage< / title > < meta content = "PSF - LoginServer - master - net.psforever.packet.game.ObjectAttachMessage" name = "description" / > < meta content = "PSF LoginServer master net.psforever.packet.game.ObjectAttachMessage" 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 * /
2021-03-23 13:48:01 +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_" > < / 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.packet" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "packet" > < / a > < a id = "packet:packet" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/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" > packet< / 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.packet.game" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "game" > < / a > < a id = "game:game" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/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" > game< / span > < / a > < / span > < div class = "fullcomme
2020-08-26 04:22:45 +00:00
(Where the child object was before it was moved is not specified or important.)< br >
< br >
The data portion of this packet defines a parent object, a child object to-be, and a destination.
After the packet is delivered, the child object will be expected to be a possession of the parent object in the codified inventory location.
The "inventory" of the parent object is a generalization of that object's containment or installation positions.
The inventory is has different referral words for these positions depending on the target parent;
but, it is generally "seats" or "mounting points" for vehicles;
and, it is generally "holsters" or "grid inventory positions" for players.
For players, "holsters" and "grid inventory positions" have 1:1 numerical mapping.
For vehicles, however, "seats" and "mounting points" are not consistently mapped and are much more context sensitive.
For that reason, this installation position will hitherto be referred to as a generic "slot."< br >
< br >
Both the client and the server can send and receive this packet.
Its interplay with other packets simulate a lazy TCP-like approach to object manipulation.
If the client sends this packet, it will generally have already done what it was going to do.
If the server sends this packet, the client will have been waiting on confirmation of an action it previously requested.< br >
< br >
Player inventory slots:< br >
< code > 0x80< / code > - 0 - pistol holster 1< br >
< code > 0x81< / code > - 1 - pistol holster 2< br >
< code > 0x82< / code > - 2 - rifle holster 1< br >
< code > 0x83< / code > - 3 - rifle holster 2< br >
< code > 0x84< / code > - 4 - knife holster< br >
< code > 0x86< / code > - 6 - grid (1,1)< br >
< code > 0x00FA< / code > - 250 - is a special dest/extra code that "attaches the item to the player's cursor"< / p > < / div > < dl class = "paramcmts block" > < dt class = "param" > parent_guid< / dt > < dd class = "cmt" > < p > the parent object< / p > < / dd > < dt class = "param" > child_guid< / dt > < dd class = "cmt" > < p > the child object< / p > < / dd > < dt class = "param" > slot< / dt > < dd class = "cmt" > < p > a codified location within the parent object's inventory;
8u (0 - 127 or < code > 0x80 - 0xFF< / code > ) or 16u (128 - 32767 or < code > 0x0080 - 0x7FFF< / code > )< / p > < / dd > < / dl > < dl class = "attributes block" > < dt > Source< / dt > < dd > < a href = "https://github.com/psforever/PSF-LoginServer/blob/master//home/runner/work/PSF-LoginServer/PSF-LoginServer/src/main/scala/net/psforever/packet/game/ObjectAttachMessage.scala" target = "_blank" > ObjectAttachMessage.scala< / a > < / dd > < / dl > < div class = "toggleContainer" > < div class = "toggle block" > < span > Linear Supertypes< / span > < div class = "superTypes hiddenContent" > < span name = "scala.Product" class = "extype" > Product< / span > , < span name = "scala.Equals" class = "extype" > Equals< / span > , < a href = "../PlanetSideGamePacket.html" name = "net.psforever.packet.PlanetSideGamePacket" id = "net.psforever.packet.PlanetSideGamePacket" class = "extype" > PlanetSideGamePacket< / a > , < a href = "../PlanetSidePacket.html" name = "net.psforever.packet.PlanetSidePacket" id = "net.psforever.packet.PlanetSidePacket" class = "extype" > PlanetSidePacket< / a > , < a href = "https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html#java.io.Serializable" name = "java.io.Serializable" id = "java.io.Serializable" class = "extype" > Serializable< / a > , < span name = "scala.AnyRef" class = "extype" > AnyRef< / span > , < span name = "scala.Any" class = "extype" > Any< / span > < / div > < / div > < / div > < / 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 > < li class = "inherit out" > < span > By Inheritance< / span > < / li > < / ol > < / div > < div class = "ancestors" > < span class = "filtertype" > Inherited< br / > < / span > < ol id = "linearization" > < li class = "in" name = "net.psforever.packet.game.ObjectAttachMessage" > < span > ObjectAttachMessage< / span > < / li > < li class = "in" name = "scala.Product" > < span > Product< / span > < / li > < li class = "in" name = "scala.Equals" > < span > Equals< / span > < / li > < li class = "in" name = "net.psforever.packet.PlanetSideGamePacket" > < span > PlanetSideGamePacket< / span > < / li > < li class = "in" name = "net.psforever.packet.PlanetSidePacket" > < span > PlanetSidePacket< / span > < / li > < li class = "in" name = "java.io.Serializable" > < span > Serializable< / span > < / li > < li class = "in" name = "scala.AnyRef" > < span > AnyRef< / span > < / li > < li class = "in" name = "scala.Any" > < span > Any< / span > < / li > < / ol > < / div > < div class = "ancestors" > < span class = "filtertype" > < / span > < ol > < li class = "hideall out" > < span > Hide All< / span > < / li > < li class = "showall in" > < span > Show All< / 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 = "constructors" class = "members" > < h3 > Instance Constructors< / h3 > < ol > < li class = "indented0 " name = "net.psforever.packet.game.ObjectAttachMessage#<init>" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "<init>(parent_guid:net.psforever.types.PlanetSideGUID,child_guid:net.psforever.types.PlanetSideGUID,slot:Int):net.psforever.packet.game.ObjectAttachMessage" > < / a > < a id = "<init>:ObjectAttachMessage" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.html#<init>(parent_guid:net.psforever.types.PlanetSideGUID,child_guid:net.psforever.types.PlanetSideGUID,slot:Int):net.psforever.packet.game.ObjectAttachMessage" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > new< / span > < / span > < span class = "symbol" > < span class = "name" > ObjectAttachMessage< / span > < span class = "params" > (< span name = "parent_guid" > parent_guid: < a href = "../../types/PlanetSideGUID.html" name = "net.psforever.types.PlanetSideGUID" id = "net.psforever.types.PlanetSideGUID" class = "extype" > PlanetSideGUID< / a > < / span > , < span name = "child_guid" > child_guid: < a href = "../../types/PlanetSideGUID.html" name = "
8u (0 - 127 or < code > 0x80 - 0xFF< / code > ) or 16u (128 - 32767 or < code > 0x0080 - 0x7FFF< / code > )< / p > < / dd > < / dl > < / div > < / li > < / ol > < / div > < div id = "types" class = "types members" > < h3 > Type Members< / h3 > < ol > < li class = "indented0 " name = "net.psforever.packet.game.ObjectAttachMessage.Packet" group = "Ungrouped" fullComment = "no" data-isabs = "false" visbl = "pub" > < a id = "Packet=net.psforever.packet.game.ObjectAttachMessage" > < / a > < a id = "Packet:Packet" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.html#Packet=net.psforever.packet.game.ObjectAttachMessage" title = "Permalink" > < i class = "material-icons" > < / i > < / a > < / span > < span class = "modifier_kind" > < span class = "modifier" > < / span > < span class = "kind" > type< / span > < / span > < span class = "symbol" > < span class = "name" > Packet< / span > < span class = "result alias" > = < a href = "" name = "net.psforever.packet.game.ObjectAttachMessage" id = "net.psforever.packet.game.ObjectAttachMessage" class = "extype" > ObjectAttachMessage< / a > < / span > < / span > < / li > < / ol > < / div > < div class = "values members" > < h3 > Value Members< / h3 > < ol > < li class = "indented0 " name = "scala.AnyRef#!=" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "!=(x$1:Any):Boolean" > < / a > < a id = "!=(Any):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.html#!=(x$1:Any):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" title = "gt4s: $bang$eq" > !=< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.Any" class = "extype" > Any< / 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###" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "##:Int" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.html###:Int" 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" title = "gt4s: $hash$hash" > ##< / span > < span class = "result" > : < span name = "scala.Int" class = "extype" > Int< / 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#==" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "==(x$1:Any):Boolean" > < / a > < a id = "==(Any):Boolean" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.html#==(x$1:Any):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" title = "gt4s: $eq$eq" > ==< / span > < span class = "params" > (< span name = "arg0" > arg0: < span name = "scala.Any" class = "extype" > Any< / 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.Any#asInstanceOf" group = "Ungrouped" fullComment = "yes" data-isabs = "false" visbl = "pub" > < a id = "asInstanceOf[T0]:T0" > < / a > < span class = "permalink" > < a href = "../../../../net/psforever/packet/game/ObjectAttachMessage.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 > < /spa