I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:UdpGameSpyQuery (UT2004)

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

UdpGameSpyQuery

Version: 1.5

This query server 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 are writing or maintaining their own stat gathering/game querying software.

Note: Currently, SendText returns false if successful.

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

Properties

Property group 'UdpGameSpyQuery'

QueryName

Type: name

Name to set this object's Tag to.

Default value: 'MasterUplink'

Internal variables

bDebugPortSwaps

Type: bool

Modifiers: globalconfig


Default value: True

bRestartServerOnPortSwap

Type: bool

Modifiers: globalconfig


Default value: True

CurrentQueryNum

Type: int


MinNetVer

Type: int

Modifiers: globalconfig


OldQueryPortNumber

Type: int

Modifiers: globalconfig


ReplyData

Type: string


Functions

Static functions

DebugPortSwap

static function DebugPortSwap (Actor Ref)


GetFullName

static function string GetFullName (Object Obj)


Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


ReceivedText

event ReceivedText (InternetLink.IpAddr Addr, string Text)

Overrides: UdpLink.ReceivedText


Other instance functions

GetBasic

function string GetBasic ()


GetGameProperty

function string GetGameProperty (string Prop)


GetInfo

function string GetInfo ()


GetLevelProperty

function string GetLevelProperty (string Prop)


GetPlayer

function string GetPlayer (PlayerController P, int PlayerNum)


GetPlayerProperty

function string GetPlayerProperty (string Prop)


GetRules

function string GetRules ()


ParseNextQuery

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


ParseQuery

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


SendAPacket

function bool SendAPacket (InternetLink.IpAddr Addr, int QueryNum, out int PacketNum, int bFinalPacket)


SendPlayers

function bool SendPlayers (InternetLink.IpAddr Addr, int QueryNum, out int PacketNum, int bFinalPacket)


SendQueryPacket

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