HolyLib Wiki

CNetChan:SetFileDeniedCallback

  CNetChan:SetFileDeniedCallback( function callback )

Description

Sets the callback function for when a file request was denied by the other side of the channel.
Can be returned using CNetChan:GetFileDeniedCallback

Arguments

1function callback

The new callback function

Function argument(s):
1CNetChan channel -

The channel

2string fileName -

The denied file's name

3number transferID -

The transfer ID of the request

Function return argument(s):