Vixen
02b45cc4
csharp
public interface IRpcInvoker

The dispatch table for one type's remote calls. Implemented by generated code.

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

Remarks

A generated switch over an index, and deliberately nothing cleverer. It is the only thing standing between a packet and a method call, so it is code somebody can read: no reflection, no delegates built at start-up, nothing that trimming can remove or that NativeAOT cannot see through.

Fields and properties (1)

  • uint RpcTypeId

    The declaring type's stable id.

Methods (1)

  • bool Invoke(uint methodIndex, in RpcContext context, ref BitReader reader)

    Runs one of this type's handlers.

Used by (7)

  • AvatarControllerMultiplayer
  • AnsweringVixen.Net.Tests
  • CounterVixen.Net.Tests
  • CountingInvokerVixen.Net.Fuzz
  • GeneratedTurretVixen.Net.Generators.Tests
  • RpcRouterVixen.Net
  • TurretVixen.Net.Tests