Vixen
02b45cc4
csharp
public interface IRpcObservers

Who can see an object, for Observers.

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

Remarks

The same question IInterestResolver answers for replication, asked the other way round — given an object, who is watching it. Kept separate because the answer has to be cheap here: a client RPC resolves observers on the frame it is sent, not once a tick.

Methods (1)

  • void Resolve(NetworkId target, List<PlayerId> into)

    Fills with everybody who can see an object.

Used by (2)

  • FixedObserversVixen.Net.Tests
  • RpcRouterVixen.Net