INetMessageService.ClientNetMessageHandler
Delegate INetMessageService.ClientNetMessageHandler
Namespace: SwiftlyS2.Shared.NetMessages
Assembly: SwiftlyS2.CS2.dll
The handler to handle net messages that are sent from the client to the server.
public delegate HookResult INetMessageService.ClientNetMessageHandler<T>(T msg, int playerId) where T : ITypedProtobuf<T>, INetMessage<T>, IDisposableParameters
- msg T — The net message to handle.
- playerId int — The player ID of the client that sent the net message.
Returns
- HookResult — The hook result.
Type Parameters
- T — Client net message type.