Vixen
02b45cc4
csharp
public interface IRpcObject

What a type declaring remote calls has to be able to say about itself.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Two things, and no base class: which networked object the calls are about, and where to send them. An interface rather than a NetworkBehaviour to inherit from, because the type that wants RPCs is usually already deriving from something — a Behavior, most of the time — and single inheritance is not a budget to spend on this.

Fields and properties (2)

  • NetworkId NetworkId

    The networked object these calls are about.

  • RpcRouter? RpcRouter

    Where calls go. Null before the object has been attached to a session.

Used by (4)

  • AvatarControllerMultiplayer
  • CounterVixen.Net.Tests
  • GeneratedTurretVixen.Net.Generators.Tests
  • TurretVixen.Net.Tests