Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

NetworkConnection.CheckHandler

public bool CheckHandler(short msgType);

Parameters

msgTypeThe message ID of the handler to look for.

Returns

bool True if a handler function was found.

Description

This function checks if there is a message handler registered for the message ID.

This is usually not required, as InvokeHandler handles message IDs without handlers.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答