SerializeMethod
A delegate in Root.Township, Alta.Networking.
Handler for a network message: gets the sending or receiving player and the stream, and both reads and writes the message with the same calls. The generic version also gets a typed argument.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
SerializeMethod(object object, IntPtr method) | Made by the compiler when you assign a method to this delegate; you don't call it directly. |
Methods
| Member | What it is |
|---|---|
virtual IAsyncResult BeginInvoke(IPlayer player, Stream stream, AsyncCallback callback, object object) | Standard delegate method for async invoke. |
virtual void EndInvoke(IAsyncResult result) | Standard delegate method for async invoke. |
virtual void Invoke(IPlayer player, Stream stream) | Calls the handler. |
Used in
Members of other types that take, return or hold a SerializeMethod:
BaseSync.reader, BaseSync.writer, ClientSync.OnClientRead, ClientSync.OnClientWrite, ClientSync.OnServerRead, ClientSync.OnServerReadAndRelay, ClientSync.OnServerWrite, ControlledWriteSync.ControlledWriteSync, ControlledWriteSync.SendToChunks, ControlledWriteSync.SendToPlayer, EntityMessageHandler.ClearHandler, EntityMessageHandler.messageHandlers, EntityMessageHandler.SendToChunks, EntityMessageHandler.SendToPlayer, EntityMessageHandler.SetHandler, InternalMessage.SendToPlayers, InternalMessage.SendToServer, InternalMessage.writeMethod, ISync.OnClientRead, ISync.OnClientWrite, ISync.OnServerRead, ISync.OnServerReadAndRelay, ISync.OnServerWrite, MethodSync.MethodSync, MethodSyncClass<T>.Handler, MethodSyncStruct<T>.Handler, ServerSync.OnClientRead, ServerSync.OnClientWrite, ServerSync.OnServerRead, ServerSync.OnServerReadAndRelay, ServerSync.OnServerWrite, Sync.defaultHandler, Sync.Handler, Sync.Sync, Sync<T>.Handler, ThrottledMethodSync.handler, ThrottledMethodSync.ThrottledMethodSync, PlayerStateBase.baseSyncHandler, PlayerStateBase.baseTransitionRequestHandler, ClassSerializer<T>.Handler.