Botpack
Class BotReplicationInfo

source: e:\games\UnrealTournament\Botpack\Classes\BotReplicationInfo.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Info
         |
         +--Engine.ReplicationInfo
            |
            +--Engine.PlayerReplicationInfo
               |
               +--Botpack.BotReplicationInfo
Direct Known Subclasses:None

class BotReplicationInfo
extends Engine.PlayerReplicationInfo

//============================================================================= // BotReplicationInfo. //=============================================================================
Variables
 Actor OrderObject
 Pawn RealOrderGiver
 PlayerReplicationInfo RealOrderGiverPRI
 name RealOrders


Function Summary
 void SetRealOrderGiver(Pawn P)



Source Code


00001	//=============================================================================
00002	// BotReplicationInfo.
00003	//=============================================================================
00004	class BotReplicationInfo extends PlayerReplicationInfo;
00005	
00006	var Actor OrderObject;
00007	var name RealOrders;
00008	var pawn RealOrderGiver;
00009	var PlayerReplicationInfo RealOrderGiverPRI;
00010	replication
00011	{
00012		// Things the server should send to the client.
00013		unreliable if ( Role == ROLE_Authority )
00014			RealOrders, RealOrderGiverPRI, OrderObject;
00015	}
00016	
00017	function SetRealOrderGiver(Pawn P)
00018	{
00019		RealOrderGiver = P;
00020		if ( P != None )
00021			RealOrderGiverPRI = P.PlayerReplicationInfo;
00022		else
00023			RealOrderGiverPRI = None;
00024	}
00025	
00026	defaultproperties
00027	{
00028	     bIsABot=True
00029	}

End Source Code