Engine
Class GameEngine

source: C:\XIII\Engine\Classes\GameEngine.uc
Core.Object
   |
   +--Core.Subsystem
      |
      +--Engine.Engine
         |
         +--Engine.GameEngine
Direct Known Subclasses:None

class GameEngine
extends Engine.Engine

//============================================================================= // GameEngine: The game subsystem. // This is a built-in Unreal class and it shouldn't be modified. //=============================================================================
Variables
 byte ConnectionFailure
           used in net code: when a connection failed with the server, detect and display a message for a while
 bool FramePresentPending
           used in net code: when a connection failed with the server, detect and display a message for a while
 Level GLevel,
 PendingLevel GPendingLevel
 URL LastURL
 array ServerActors,
 float TimeToWaitUpTo
           used in net code: when a connection failed with the server, detect and display a message for a while


Source Code


00001	//=============================================================================
00002	// GameEngine: The game subsystem.
00003	// This is a built-in Unreal class and it shouldn't be modified.
00004	//=============================================================================
00005	class GameEngine extends Engine
00006		native
00007		noexport
00008		transient;
00009	
00010	// URL structure.
00011	struct URL
00012	{
00013		var string			Protocol,	// Protocol, i.e. "unreal" or "http".
00014							Host;		// Optional hostname, i.e. "204.157.115.40" or "unreal.epicgames.com", blank if local.
00015		var int				Port;		// Optional host port.
00016		var string			Map;		// Map name, i.e. "SkyCity", default is "Index".
00017		var array<string>	Op;			// Options.
00018		var string			Portal;		// Portal to enter through, default is "".
00019		var bool			Valid;
00020	};
00021	
00022	var Level			GLevel,
00023						GEntry;
00024	var PendingLevel	GPendingLevel;
00025	var URL				LastURL;
00026	var config array<string>    ServerActors,
00027						        ServerPackages;
00028	
00029	var const byte ConnectionFailure;  // used in net code: when a connection failed with the server, detect and display a message for a while
00030	var const float TimeToWaitUpTo;
00031	
00032	var bool			FramePresentPending;
00033	
00034	defaultproperties
00035	{
00036	     ServerActors(0)="IpDrv.UdpBeacon"
00037	     ServerActors(1)="IpDrv.UdpServerQuery"
00038	     ServerActors(2)="IpDrv.RegisterServerToUbiCom"
00039	     ServerPackages(0)="GamePlay"
00040	     ServerPackages(1)="XIII"
00041	     ServerPackages(2)="XIIIMP"
00042	     CacheSizeMegs=1
00043	}

End Source Code