Struct CorpseLootBroadcast
Server → Client broadcast opening (or refreshing) a corpse's loot window.
public struct CorpseLootBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Remarks
Sent both on the initial interaction and after every successful take by ANY looter, because the pile is shared: what one player removes has to disappear from everyone else's window. Re-sending the whole contents rather than a delta keeps the client a pure view of server state, so a dropped or reordered update cannot leave two players disagreeing about what is still on the body.
Fields
CorpseName
Display name of the corpse.
public string CorpseName
Field Value
Currency
Currency remaining on the corpse.
public long Currency
Field Value
InteractableID
Scene object ID of the corpse.
public long InteractableID
Field Value
Items
Filled item slots. Emptied slots are omitted.
public CorpseLootSlotData[] Items