The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:UdpServerQuery (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT Object >> Actor >> Info >> InternetInfo >> InternetLink >> UdpLink >> UdpServerQuery
Package: 
IpServer
This class in other games:
RTNP, U1

UdpServerQuery

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 'UdpServerQuery'

QueryName

Type: name

Name to set this object's Tag to.

Default value: 'MasterUplink'

Internal variables

bRestartServerOnPortSwap

Type: bool

Modifiers: globalconfig


CurrentQueryNum

Type: int

Query ID Number.

GameName

Type: string

Modifiers: globalconfig


Default value: "ut"

MinNetVer

Type: int

Modifiers: globalconfig


OldQueryPortNumber

Type: int

Modifiers: globalconfig


ReplyData

Type: string


Default values

Property Value
RemoteRole ROLE_None

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


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 (PlayerPawn 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)