The net code uses this to send notifications.
更多...
#include <NetworkDelegates.h>
|
| 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
- 参数
-
| Connection | newly 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)
- 参数
-
| Channel | newly created channel |
- 返回
- true if the channel should be opened, false if it should be rejected (destroying the channel)
被 UWorld 重载.
◆ NotifyAcceptingConnection()
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 重载.
该类的文档由以下文件生成: