Skip to content

OnQueueMessage

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnQueueMessage( Connection c, int position )
{
    Puts( "OnQueueMessage works!" );
}

Location

  • ConnectionQueue::SendMessage(Network.Connection c, int position)
csharp
private void SendMessage(Connection c, int position)
{
	if (Interface.CallHook("OnQueueMessage", c, position) != null)
	{
		return;
	}
	string val = string.Empty;
	if (position > 0)
//---

Released under the MIT License.