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 |Content copied to clipboard
Constructors
Link copied to clipboard
constructor(id: Int, quantity: Int, xInZone: Int, zInZone: Int, opFlags: OpFlags, timeUntilPublic: Int, timeUntilDespawn: Int, ownershipType: Int, neverBecomesPublic: Boolean)
A helper constructor for the JVM-based clients, as these clients do not utilize the timeUntilPublic, timeUntilDespawn, ownershipType and neverBecomesPublic properties.
Properties
Link copied to clipboard
Link copied to clipboard
whether the item turns public in the future. This property is only used on the c++-based clients.
Link copied to clipboard
the type of ownership of this obj (see table above). This property is only used on the C++-based clients.
Link copied to clipboard
how many game cycles until the obj disappears. This property is only used on the C++-based clients.
Link copied to clipboard
how many game cycles until the obj turns public. This property is only used on the C++-based clients.