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

UE2:MasterServerClient (UT2004)

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

null

Properties

Property group 'Query'

Query

Type: array<QueryData>


ResultCount

Type: int

Modifiers: const


Internal variables

ModRevLevel

Type: int

The current mod news revision level -- Both returned by a MS query

MSLinkPtr

Type: pointer

Modifiers: native, const


OptionalResult

Type: string


OwnageLevel

Type: int

The current revision for ownage maps

Enums

EClientToMaster

CTM_Query 
CTM_GetMOTD 
CTM_QueryUpgrade 
CTM_GetModMOTD 
CTM_GetOwnageList 

EMOTDResponse

MR_MOTD 
MR_MandatoryUpgrade 
MR_OptionalUpgrade 
MR_NewServer 
MR_IniSetting 
MR_Command 

EQueryType

QT_Equals 
QT_NotEquals 
QT_LessThan 
QT_LessThanEquals 
QT_GreaterThan 
QT_GreaterThanEquals 
QT_Disabled 
if QT_Disabled, query item will not be added

EResponseInfo

RI_AuthenticationFailed 
RI_ConnectionFailed 
RI_ConnectionTimeout 
RI_Success 
RI_MustUpgrade 
RI_DevClient 
RI_BadClient 
RI_BannedClient 
RI_UTANBan 

Structs

QueryData

Modifiers: native, export

string Key 
string Value 
EQueryType QueryType 

Delegates

OnQueryFinished

delegate OnQueryFinished (EResponseInfo ResponseInfo, int Info)


OnReceivedModMOTDData

delegate OnReceivedModMOTDData (string Value)


OnReceivedMOTDData

delegate OnReceivedMOTDData (EMOTDResponse Command, string Value)


OnReceivedOwnageItem

delegate OnReceivedOwnageItem (int Level, string ItemName, string ItemDesc, string ItemURL)


OnReceivedServer

delegate OnReceivedServer (GameInfo.ServerResponseLine s)


Native functions

LaunchAutoUpdate

native function LaunchAutoUpdate ()


StartQuery

native function StartQuery (EClientToMaster Command)


Stop

native function Stop ()