engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FNetworkNotify类 参考

The net code uses this to send notifications. 更多...

#include <NetworkDelegates.h>

+ 类 FNetworkNotify 继承关系图:

Public 成员函数

virtual void NotifyAcceptedConnection (class UNetConnection *Connection)
 Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection 更多...
 
virtual bool NotifyAcceptingChannel (class UChannel *Channel)
 Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc) 更多...
 
virtual EAcceptConnection::Type NotifyAcceptingConnection ()
 Notification that an incoming connection is pending, giving the interface a chance to reject the request 更多...
 
virtual void NotifyControlMessage (UNetConnection *Connection, uint8 MessageType, class FInBunch &Bunch)
 Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e. 更多...
 

详细描述

The net code uses this to send notifications.

成员函数说明

◆ NotifyAcceptedConnection()

virtual void FNetworkNotify::NotifyAcceptedConnection ( class UNetConnection *  Connection)
virtual

Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection

参数
Connectionnewly created connection

被 UWorld 重载.

◆ NotifyAcceptingChannel()

virtual bool FNetworkNotify::NotifyAcceptingChannel ( class UChannel *  Channel)
virtual

Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc)

参数
Channelnewly created channel
返回
true if the channel should be opened, false if it should be rejected (destroying the channel)

被 UWorld 重载.

◆ NotifyAcceptingConnection()

virtual EAcceptConnection::Type FNetworkNotify::NotifyAcceptingConnection ( )
virtual

Notification that an incoming connection is pending, giving the interface a chance to reject the request

返回
EAcceptConnection indicating willingness to accept the connection at this time

被 UWorld 重载.

◆ NotifyControlMessage()

virtual void FNetworkNotify::NotifyControlMessage ( UNetConnection *  Connection,
uint8  MessageType,
class FInBunch &  Bunch 
)
virtual

Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e.

use FNetControlMessage<TYPE>::Receive())

被 UWorld 重载.


该类的文档由以下文件生成: