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

UTGame.UTVoteReplicationInfo

Extends
ReplicationInfo
Modifiers
dependson ( UTVoteCollector ) nativereplication native

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.ReplicationInfo
         |   
         +-- UTGame.UTVoteReplicationInfo

Variables Summary
UTVoteCollectorCollector
intdummy
intLastSendIndex
stringLeadingMap
intMapCount
array<MapVoteInfo>Maps
intMyCurrnetVoteID
actorOldOwner
intSendIndex

Structures Summary
Inherited Structures from Engine.Info
KeyValuePair, PlayerResponseLine, ServerResponseLine

Functions Summary
function BeginState (name PrevStateName))
ReplicatingToClient
function BeginState (name PrevStateName))
Voting
function ClientBeginVoting ()))
event ClientHasOwner ()))
function ClientInitTransfer (int TotalMapCount))
function ClientRecvMapInfo (MapVoteInfo VInfo))
function ClientRecvMapUpdate (int MapId, byte VoteCntUpdate))
function ClientTimesUp ()))
functionint GetMapIndex (int MapID)
function Initialize (UTVoteCollector NewCollector))
function PostBeginPlay ()))
function ServerAckTransfer ()))
function ServerAckTransfer ()))
ReplicatingToClient
function ServerClientIsReady ()))
function ServerRecordVoteFor (int MapIdToVoteFor))
function Tick (float DeltaTime))
ReplicatingToClient

States Summary
ReplicatingToClient Source code
state ReplicatingToClient
/** * Replicate the votes to the client. We send 1 vote at a time and wait for a response. */
BeginState, ServerAckTransfer, Tick
Voting Source code
state Voting
BeginState


Variables Detail

Collector Source code

var UTVoteCollector Collector;
Cached reference to our collector

dummy Source code

var int dummy;

LastSendIndex Source code

var int LastSendIndex;

LeadingMap Source code

var string LeadingMap;

MapCount Source code

var int MapCount;
How many maps are we expecting

Maps Source code

var array<MapVoteInfo> Maps;
Our local view of the map data

MyCurrnetVoteID Source code

var int MyCurrnetVoteID;

OldOwner Source code

var actor OldOwner;
Used to detect the setting of the owner without RepNotifing Owner

SendIndex Source code

var int SendIndex;


Functions Detail

BeginState ReplicatingToClient Source code

function BeginState ( name PrevStateName) )

BeginState Voting Source code

function BeginState ( name PrevStateName) )

ClientBeginVoting Source code

simulated reliable client function ClientBeginVoting ( ) )

ClientHasOwner Source code

simulated event ClientHasOwner ( ) )
Called when the client receives his owner. Let the server know it can begin sending maps

ClientInitTransfer Source code

simulated reliable client function ClientInitTransfer ( int TotalMapCount) )

ClientRecvMapInfo Source code

simulated reliable client function ClientRecvMapInfo ( MapVoteInfo VInfo) )
We have received a map from the server. Add it

ClientRecvMapUpdate Source code

simulated reliable client function ClientRecvMapUpdate ( int MapId, byte VoteCntUpdate) )

ClientTimesUp Source code

simulated reliable client function ClientTimesUp ( ) )

GetMapIndex Source code

native function int GetMapIndex ( int MapID )
@Returns the index of the a map given the ID or -1 if it's not in the array

Initialize Source code

function Initialize ( UTVoteCollector NewCollector) )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

ServerAckTransfer Source code

reliable server function ServerAckTransfer ( ) )

ServerAckTransfer ReplicatingToClient Source code

reliable server function ServerAckTransfer ( ) )

ServerClientIsReady Source code

reliable server function ServerClientIsReady ( ) )

ServerRecordVoteFor Source code

reliable server function ServerRecordVoteFor ( int MapIdToVoteFor) )

Tick ReplicatingToClient Source code

function Tick ( float DeltaTime) )
TODO - Probably better to use a timer here


Defaultproperties

defaultproperties
{
   MyCurrnetVoteID=-1
   TickGroup=TG_DuringAsyncWork
   bSkipActorPropertyReplication=False
   NetUpdateFrequency=1.000000
   Name="Default__UTVoteReplicationInfo"
   ObjectArchetype=ReplicationInfo'Engine.Default__ReplicationInfo'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mon 26/11/2007 17:41:38.156 - Created with UnCodeX