HolyLib Wiki

CNetChan:SetPacketEndCallback

  CNetChan:SetPacketEndCallback( function callback )

Description

Sets the callback function that is called once all messages of an incoming packet have been parsed.
Can be returned using CNetChan:GetPacketEndCallback

Arguments

1function callback

The new callback function

Function argument(s):
1CNetChan channel -

The channel

Function return argument(s):