Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE1:UdpServerUplink (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Info >> InternetInfo >> InternetLink >> UdpLink >> UdpServerUplink
Package: 
IpServer
This class in other games:
RTNP, U1

UdpServerUplink

Version: 1.3

This uplink is compliant with the GameSpy Uplink Specification. The specification is available at http://www.gamespy.com/developer and might be of use to progammers who want to adapt their own server uplinks.

UdpServerUplink sends a heartbeat to the specified master server every five minutes. The heartbeat is in the form: \heartbeat\QueryPort\gamename\unreal

Full documentation on this class is available at http://unreal.epicgames.com/

Properties[edit]

Property group 'UdpServerUplink'[edit]

DoUplink[edit]

Type: bool

Modifiers: config

If true, do the uplink

MasterServerAddress[edit]

Type: string

Modifiers: config

Address of the master server

MasterServerPort[edit]

Type: int

Modifiers: config

Optional port that the master server is listening on

Default value: 27900

Region[edit]

Type: int

Modifiers: config

Region of the game server

TargetQueryName[edit]

Type: name

Name of the query server object to use.

Default value: 'MasterUplink'

UpdateMinutes[edit]

Type: int

Modifiers: config

Period of update (in minutes)

Default value: 1

Internal variables[edit]

CurrentQueryNum[edit]

Type: int


HeartbeatMessage[edit]

Type: string

The message that is sent to the master server.

MasterServerIpAddr[edit]

Type: InternetLink.IpAddr

Master server's address.

Query[edit]

Type: UdpServerQuery

The query object.

Default values[edit]

Property Value
RemoteRole ROLE_None

Functions[edit]

Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


ReceivedText[edit]

event ReceivedText (InternetLink.IpAddr Addr, string Text)

Overrides: UdpLink.ReceivedText


Resolved[edit]

event Resolved (InternetLink.IpAddr Addr)

Overrides: InternetLink.Resolved


ResolveFailed[edit]

event ResolveFailed ()

Overrides: InternetLink.ResolveFailed


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

Halt[edit]

function Halt ()


ParseNextQuery[edit]

function bool ParseNextQuery (string Query, out string QueryType, out string QueryValue, out string QueryRest, out string FinalPacket)


ParseQuery[edit]

function string ParseQuery (InternetLink.IpAddr Addr, coerce string QueryStr, int QueryNum, out int PacketNum)


Resume[edit]

function Resume ()


SendQueryPacket[edit]

function bool SendQueryPacket (InternetLink.IpAddr Addr, coerce string SendString, int QueryNum, int PacketNum, string FinalPacket)