Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.GameReplicationInfo


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
//=============================================================================
// GameReplicationInfo.
//=============================================================================
class GameReplicationInfo expands ReplicationInfo;

var string[32] GameName;                // Assigned by GameInfo.
var bool bTeamGame;                     // Assigned by GameInfo.

var() config string[128] ServerName;    // Name of the server, i.e.: Bob's Server.
var() config string[128] ShortName;     // Abbreviated name of server, i.e.: B's Serv (stupid example)
var() config string[128] AdminName;     // Name of the server admin.
var() config string[128] AdminEmail;    // Email address of the server admin.
var() config int         Region;        // Region of the game server.

var() config bool ShowMOTD;             // Whether or not to display the MOTD.
var() config string[64] MOTDLine1;      // Message
var() config string[64] MOTDLine2;      // Of
var() config string[64] MOTDLine3;      // The
var() config string[64] MOTDLine4;      // Day

replication
{
    reliable if ( Role == ROLE_Authority )
        GameName, bTeamGame, ServerName, ShortName, AdminName,
        AdminEmail, Region, ShowMOTD, MOTDLine1, MOTDLine2, 
        MOTDLine3, MOTDLine4;
}

defaultproperties
{
     ServerName="Another Unreal Server"
     ShortName="Unreal Server"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:51.945 - Created with UnCodeX