I don't need to test my programs. I have an error-correcting modem.

UE2:UdpGameSpyUplink (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Info >> InternetInfo >> InternetLink >> UdpLink >> UdpGameSpyUplink

Contents

Package: 
IpDrv
This class in other games:
U2, UE2Runtime, UT2003

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/

[edit] Properties

[edit] Property group 'UdpGameSpyUplink'

[edit] MasterServerAddress

Type: string

Address of the master server

[edit] MasterServerPort

Type: int

Modifiers: config

Optional port that the master server is listening on

Default value: 27900

[edit] ServerRegion

Type: int

Modifiers: config

Region of the game server

[edit] TargetQueryName

Type: name

Name of the query server object to use.

Default value: 'MasterUplink'

[edit] UpdateMinutes

Type: int

Modifiers: config

Period of update (in minutes)

Default value: 1

[edit] Internal variables

[edit] CurrentQueryNum

Type: int


[edit] HeartbeatMessage

Type: string

The message that is sent to the master server.

[edit] MasterServerIpAddr

Type: InternetLink.IpAddr

Master server's address.

[edit] Query

Type: UdpGameSpyQuery

The query object.

[edit] Functions

[edit] Events

[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


[edit] ReceivedText

event ReceivedText (InternetLink.IpAddr Addr, string Text)

Overrides: UdpLink.ReceivedText


[edit] Resolved

event Resolved (InternetLink.IpAddr Addr)

Overrides: InternetLink.Resolved


[edit] ResolveFailed

event ResolveFailed ()

Overrides: InternetLink.ResolveFailed


[edit] Timer

event Timer ()

Overrides: Actor.Timer


[edit] Other instance functions

[edit] Halt

function Halt ()


[edit] ParseNextQuery

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


[edit] ParseQuery

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


[edit] Resume

function Resume ()


[edit] SendQueryPacket

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


Personal tools