Table of Contents

Struct PetAttackBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Client-to-server: send the pet at the owner's current target.

public struct PetAttackBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

Carries no target ID on purpose. The server raycasts from the owner's replicated camera transform, in the owner's own physics scene and clamped to MAX_TARGET_DISTANCE, exactly as the ability system resolves what a cast hits. A client can therefore point but cannot name an arbitrary entity — including one it cannot see or reach — as its pet's victim.