Core.Object | +--Engine.Actor | +--Engine.Info | +--Engine.GameInfo | +--UnrealShare.UnrealGameInfo | +--UnrealShare.EntryGameInfo
00001 //============================================================================= 00002 // EntryGameInfo. 00003 // 00004 //============================================================================= 00005 class EntryGameInfo extends UnrealGameInfo; 00006 00007 event PreLogin 00008 ( 00009 string Options, 00010 string Address, 00011 out string Error, 00012 out string FailCode 00013 ) 00014 { 00015 local int RealMax; 00016 00017 RealMax=MaxPlayers; 00018 MaxPlayers = 0; 00019 Super.PreLogin(Options, Address, Error, FailCode); 00020 MaxPlayers = RealMax; 00021 } 00022 00023 event playerpawn Login 00024 ( 00025 string Portal, 00026 string Options, 00027 out string Error, 00028 class<playerpawn> SpawnClass 00029 ) 00030 { 00031 local int RealMax; 00032 local PlayerPawn result; 00033 00034 RealMax=MaxPlayers; 00035 MaxPlayers = 0; 00036 result = Super.Login(Portal, Options, Error, SpawnClass); 00037 MaxPlayers = RealMax; 00038 return result; 00039 } 00040 00041 defaultproperties 00042 { 00043 }