Obj Add
Obj add packets are used to spawn an obj on the ground.
Ownership table:
| Id | Ownership Type |
|----|:--------------:|
| 0 | None |
| 1 | Self Player |
| 2 | Other Player |
| 3 | Group Ironman |Constructors
A helper constructor for the JVM-based clients, as these clients do not utilize the timeUntilPublic, timeUntilDespawn, ownershipType and neverBecomesPublic properties.
Properties
whether the item turns public in the future. This property is only used on the c++-based clients.
the right-click options enabled on this obj. Use the net.rsprot.protocol.game.outgoing.util.OpFlags helper object to create these bitpacked values which can be passed into it.
the type of ownership of this obj (see table above). This property is only used on the C++-based clients.
how many game cycles until the obj disappears. This property is only used on the C++-based clients.
how many game cycles until the obj turns public. This property is only used on the C++-based clients.