Skip to main content
Version: 0.1.0

ReadyM.Api.Multiplayer

Namespaces

ReadyM.Api.Multiplayer.Generators

ReadyM.Api.Multiplayer.Interop

ReadyM.Api.Multiplayer.Protocol

ReadyM.Api.Multiplayer.RPC

Classes

ClientToServerAttribute

Client-to-server (request) leg of a contract method: generates a Send on the client and an On(RpcContext, ...) handler on the server. Different-shaped two-way RPCs are two overloads (one per direction); identical-shape two-way is one method with both attributes. Every contract method needs at least one direction attribute.

ServerToClientAttribute

Server-to-client (response/push) leg of a contract method: generates a Send(PlayerId, ...) on the server and an On(...) handler on the client. See ClientToServerAttribute.