Navigation
API > API/Plugins > API/Plugins/OnlineBase > API/Plugins/OnlineBase/FLANSession
Description
Creates the LAN beacon for queries/advertising servers
Creates the LAN beacon for queries/advertising servers
| Name | Search |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineBase/Source/Public/Online/LANBeacon.h |
| Include Path | #include "Online/LANBeacon.h" |
| Source | /Engine/Plugins/Online/OnlineBase/Source/Private/Online/LANBeacon.cpp |
bool Search
(
class FNboSerializeToBuffer & Packet,
FOnValidResponsePacketDelegate & ResponseDelegate,
FOnSearchingTimeoutDelegate & TimeoutDelegate
)
true if search was started successfully, false otherwise
Parameters
| Name | Remarks |
|---|---|
| Packet | packet to be search when broadcasting the search |
| ResponseDelegate | delegate to fire when a server response is received |
| TimeoutDelegate | delegate to fire if we exceed maximum search time |
| Nonce | unique identifier for this search |
| ResponseDelegate | delegate to fire when a server response is received |