csharp
public readonly record struct RpcContextWho is calling, and about what.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Handed to the handler so it can answer "who did this?" without the sender having to put the caller's id in the arguments — where a client would be the one filling it in, which is the whole problem.
Fields and properties (5)
public PlayerId SenderThe player whose packet this is, or None when the server is the one that sent it.
public NetworkId TargetThe networked object the call is about.
public RpcMethod MethodWhich call it is.
public uint CorrelationIdWhich outstanding call this is, for one that expects an answer. Zero for the ordinary fire-and-forget kind, which is almost all of them.
public bool ExpectsReplyWhether the caller is waiting for an answer to this one.
Methods (1)
Used by (8)
- AvatarControllerMultiplayer
- AnsweringVixen.Net.Tests
- CounterVixen.Net.Tests
- CountingInvokerVixen.Net.Fuzz
- GeneratedTurretVixen.Net.Generators.Tests
- IRpcInvokerVixen.Net
- RpcRouterVixen.Net
- TurretVixen.Net.Tests