I'm a doctor, not a mechanic

UE2:UdpGameSpyUplink (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> InternetInfo >> InternetLink >> UdpLink >> UdpGameSpyUplink
Package: 
IpDrv
This class in other games:
UE2Runtime, U2, UT2004

UdpGameSpyUplink

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.

UdpGameSpyUplink 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 'UdpGameSpyUplink'[edit]

MasterServerAddress[edit]

Type: string

Address of the master server

MasterServerPort[edit]

Type: int

Modifiers: config

Optional port that the master server is listening on

Default value: 27900

ServerRegion[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: UdpGameSpyQuery

The query object.

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)