Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 |
//============================================================================== // Created on: 09/16/2003 // Edit the IP and port of an existing favorite // // Written by Ron Prestenback // © 2003, Epic Games, Inc. All Rights Reserved //============================================================================== class EditFavoritePage extends UT2k4Browser_OpenIP; var automated GUILabel l_name; var GameInfo.ServerResponseLine Server; var localized string UnknownText; function HandleParameters(string ServerIP, string ServerName) { if (ServerIP != "") ed_Data.SetText(StripProtocol(ServerIP)); if ( ServerName == "" ) ServerName = UnknownText; l_Name.Caption = ServerName; } function ApplyURL( string URL ) { local string IP, port; if ( URL == "" ) return; URL = StripProtocol(URL); if ( !Divide( URL, ":", IP, Port ) ) { IP = URL; Port = "7777"; } Server.IP = IP; Server.Port = int(Port); Server.QueryPort = Server.Port + 1; Server.ServerName = l_name.Caption; Controller.CloseMenu(False); } defaultproperties { OKButtonHint="Close the page and save the new IP to your favorites list." CancelButtonHint="Close the page and discard any changes." EditBoxHint="Enter the URL for this favorite - separate IP and port with the : symbol" Begin Object Class=GUILabel Name=ServerName StyleName="TextLabel" TextAlign=TXTA_Center WinWidth=0.854492 WinHeight=0.050000 WinLeft=0.070313 WinTop=0.299479 End Object l_name=ServerName Begin Object class=moEditBox Name=IpEntryBox Caption="IP Address: " LabelJustification=TXTA_Left ComponentJustification=TXTA_Left CaptionWidth=0.35 ComponentWidth=-1 WinWidth=0.590820 WinHeight=0.030000 WinLeft=0.192383 WinTop=0.487500 TabOrder=0 bAutoSizeCaption=True End Object ed_Data=IPEntryBox UnknownText="Unknown Server" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |