Click or drag to resize
MyModAPIHelperMyMultiplayerRegisterMessageHandler Method

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "M:Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.RegisterMessageHandler(System.UInt16,System.Action{System.Byte[]})"]

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Game (in Sandbox.Game.dll) Version: 0.1.5991.32293
Syntax
C#
public void RegisterMessageHandler(
	ushort id,
	Action<byte[]> messageHandler
)

Parameters

id
Type: SystemUInt16

[Missing <param name="id"/> documentation for "M:Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.RegisterMessageHandler(System.UInt16,System.Action{System.Byte[]})"]

messageHandler
Type: SystemActionByte

[Missing <param name="messageHandler"/> documentation for "M:Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.RegisterMessageHandler(System.UInt16,System.Action{System.Byte[]})"]

Implements

IMyMultiplayerRegisterMessageHandler(UInt16, ActionByte)
See Also