Table of Contents

Struct ContainerTakeResultBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Server → Client reply to a container take request.

public struct ContainerTakeResultBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

The take handler had no reply of any kind, so a client could not tell a refusal from a lost packet and had nothing to release a per-slot pending lock on. Every exit now sends one, and a successful take is followed by a fresh ContainerOpenBroadcast — the same snapshot-not-delta contract corpse loot uses, so a client that missed an update still converges on what the container actually holds.

Fields

InteractableID

ID of the container interactable.

public long InteractableID

Field Value

long

Reason

Why the take was refused.

public ContainerFailureReason Reason

Field Value

ContainerFailureReason

Slot

The slot the request named.

public int Slot

Field Value

int

Success

True when the item was transferred.

public bool Success

Field Value

bool