Gah - a solution with more questions. – EntropicLqd

UE3:UTVoteReplicationInfo (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Info >> ReplicationInfo >> UTVoteReplicationInfo

Contents

Package: 
UTGame

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

Properties[edit]

bGameVotingEnabled[edit]

Type: bool


bGameVotingReady[edit]

Type: bool

Set when all gamevote info has finished transferring

bKickVotingEnabled[edit]

Type: bool


bMapVotePending[edit]

Type: bool


bMapVotingEnabled[edit]

Type: bool


bMapVotingReady[edit]

Type: bool

Set when all mapvote info has finished transferring

bMutatorVotingEnabled[edit]

Type: bool


bMutatorVotingReady[edit]

Type: bool

As above, but relating to mutator voting

bOldClient[edit]

Type: bool


bSupportsNewVoting[edit]

Type: bool

Whether or not the client is compatible with the new vote and replication systems

bTransfersEnabled[edit]

Type: bool

Whether or not transferring has begun

bTransferTimerActive[edit]

Type: bool

Whether or not the main transfer timer (which controls the rate of transfer) is active

bVotingAllowed[edit]

Type: bool

Random client/server vote status information

bVotingOver[edit]

Type: bool


Collector[edit]

Type: UTVoteCollector

Cached reference to the vote collector

CompletedTransfers[edit]

Type: array<name>

The names of transfer states which have completed transferring

CurGameVoteIndex[edit]

Type: byte

Information about the clients active votes

Default value: 255

CurKickVoteIDs[edit]

Type: array<int>

The list of PlayerID's the client has contributed kickvotes for

CurMapVoteIndex[edit]

Type: byte

Index of the clients current map vote

Default value: 255

CurMutVoteIndicies[edit]

Type: array<byte>

The indicies representing mutators the client has voted

dummy[edit]

Type: int


ElementIndex[edit]

Type: byte

Serverside transfer progress/state tracking variables

GameVotes[edit]

Type: array<LocalGameEntry>

Local vote information

KickVoteCounter[edit]

Type: int


KickVoteHistory[edit]

Type: array<int>


KickVotes[edit]

Type: array<UTVoteCollector.KickVoteInfo>

Current kick votes

LastConfirmedState[edit]

Type: name

The last state which the client has reported a successful transition to

LastSendIndex[edit]

Type: int


LeadingMap[edit]

Type: string


LeadingMaps[edit]

Type: array<string>


ListIndex[edit]

Type: byte

Variables for tracking vote info transfers (usually done when the client first joins)

MapCount[edit]

Type: int

How many maps are we expecting

MapProviders[edit]

Type: array<UTUIDataProvider_MapInfo>

Cached list of map data providers, for sanitizing map names

Maps[edit]

Type: array<UTVoteCollector.MapVoteInfo>

Our local view of the map data

MapVotes[edit]

Type: array<LocalMapEntry>

Current map votes

MutatorVotePercentage[edit]

Type: int

The percentage of votes required in order to enable/disable a mutator

MutatorVotes[edit]

Type: array<LocalMutEntry>

Current mutator votes

MutProviders[edit]

Type: array<UTUIResourceDataProvider>

Cached list of mutator data providers, for retrieving localized mutator descriptions

MyCurrnetVoteID[edit]

Type: int

Modifiers: deprecated


OldOwner[edit]

Type: Actor

Used to detect the setting of the owner without RepNotifing Owner

PendingBeginVoting[edit]

Type: byte


PendingResends[edit]

Type: array<byte>

A list of transfer items which the client wants the server to resend

PendingTransferStates[edit]

Type: array<name>

Holds the names of special transfer-control states, which are waiting to become active

RecordVoteCounter[edit]

Type: int


RecordVoteTimestamp[edit]

Type: float

Vote function replication limitation

SendIndex[edit]

Type: int


TotalTransferCount[edit]

Type: int

The estimated number of times that replicated functions which will be called (for transfer timing)

TransferFailCount[edit]

Type: int

The number of failed item transfers

WinningGameIndex[edit]

Type: byte

The index into 'GameTypes' for the winning gametype

Default value: 255

WinningMapIndex[edit]

Type: byte

As above, except relating to 'MapVotes'

Default value: 255

Default values[edit]

Property Value
bSkipActorPropertyReplication False
NetUpdateFrequency 1.0
TickGroup TG_DuringAsyncWork

Structs[edit]

LocalGameEntry[edit]

Modifiers: native

string GameName 
Displayed game name
byte NumVotes 

LocalMapEntry[edit]

Modifiers: native

string MapName 
byte NumVotes 
bool bSelectable 
Whether or not this map entry can be voted for

LocalMutEntry[edit]

Modifiers: native

string MutName 
Displayed mutator name
string MutDescription 
Localized (or replicated, if localization fails) description of the mutator
byte NumVotes 
bool bIsActive 
Is the mutator currently active? Determines whether the mutator is displayed in the 'Add' or 'Remove' list

Functions[edit]

Native functions[edit]

GetMapIndex[edit]

native function int GetMapIndex (int MapID)


Events[edit]

ClientHasOwner[edit]

simulated event ClientHasOwner ()

Called when the client receives his owner. Let the server know it can begin sending maps

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

See UTVoteReplicationInfo instance functions.

States[edit]

GameVoteInfoTransfer[edit]

Extends: TransferBase

GameVoteInfoTransfer.ClientBeginGameVoteTransfer[edit]

simulated reliable client function ClientBeginGameVoteTransfer (byte InGameCount)

Overrides: ClientBeginGameVoteTransfer (global)


GameVoteInfoTransfer.ClientCheckTransferStatus[edit]

simulated reliable client function ClientCheckTransferStatus ()

Overrides: ClientCheckTransferStatus (global)


GameVoteInfoTransfer.ClientReceiveGameVoteInfo[edit]

simulated reliable client function ClientReceiveGameVoteInfo (byte Index, string GameName, byte NumVotes)

Overrides: ClientReceiveGameVoteInfo (global)


GameVoteInfoTransfer.ListenInstantTransfer[edit]

function ListenInstantTransfer ()

Overrides: ListenInstantTransfer (global)


GameVoteInfoTransfer.ServerTransferComplete[edit]

reliable server function ServerTransferComplete ()

Overrides: ServerTransferComplete (global)


GameVoteInfoTransfer.StateChangeConfirmed[edit]

function StateChangeConfirmed ()

Overrides: StateChangeConfirmed (global)


GameVoteInfoTransfer.TransferTimer[edit]

function TransferTimer ()

Overrides: TransferBase.TransferTimer


MapVoteInfoTransfer[edit]

Extends: TransferBase

MapVoteInfoTransfer.ClientBeginMapVoteTransfer[edit]

simulated reliable client function ClientBeginMapVoteTransfer (byte InMapCount)

Overrides: ClientBeginMapVoteTransfer (global)


MapVoteInfoTransfer.ClientCheckTransferStatus[edit]

simulated reliable client function ClientCheckTransferStatus ()

Overrides: ClientCheckTransferStatus (global)


MapVoteInfoTransfer.ClientReceiveMapVoteInfo[edit]

simulated reliable client function ClientReceiveMapVoteInfo (byte Index, string MapName, byte NumVotes, bool bSelectable)

Overrides: ClientReceiveMapVoteInfo (global)


MapVoteInfoTransfer.ListenInstantTransfer[edit]

function ListenInstantTransfer ()

Overrides: ListenInstantTransfer (global)


MapVoteInfoTransfer.ServerTransferComplete[edit]

reliable server function ServerTransferComplete ()

Overrides: ServerTransferComplete (global)


MapVoteInfoTransfer.StateChangeConfirmed[edit]

function StateChangeConfirmed ()

Overrides: StateChangeConfirmed (global)


MapVoteInfoTransfer.TransferTimer[edit]

function TransferTimer ()

Overrides: TransferBase.TransferTimer


MutatorInfoTransfer[edit]

Extends: TransferBase

MutatorInfoTransfer.ClientBeginMutVoteTransfer[edit]

simulated reliable client function ClientBeginMutVoteTransfer (byte InMutCount, byte InMutVotePercentage)

Overrides: ClientBeginMutVoteTransfer (global)


MutatorInfoTransfer.ClientCheckTransferStatus[edit]

simulated reliable client function ClientCheckTransferStatus ()

Overrides: ClientCheckTransferStatus (global)


MutatorInfoTransfer.ClientReceiveMutDescription[edit]

simulated reliable client function ClientReceiveMutDescription (byte Index, string MutDescription)

Overrides: ClientReceiveMutDescription (global)


MutatorInfoTransfer.ClientReceiveMutVoteInfo[edit]

simulated reliable client function ClientReceiveMutVoteInfo (byte Index, string MutClass, string MutName, byte NumVotes, bool bIsActive)

Overrides: ClientReceiveMutVoteInfo (global)


MutatorInfoTransfer.ListenInstantTransfer[edit]

function ListenInstantTransfer ()

Overrides: ListenInstantTransfer (global)


MutatorInfoTransfer.ServerRequestMutDescription[edit]

reliable server function ServerRequestMutDescription (byte Index)

Overrides: ServerRequestMutDescription (global)


MutatorInfoTransfer.ServerTransferComplete[edit]

reliable server function ServerTransferComplete ()

Overrides: ServerTransferComplete (global)


MutatorInfoTransfer.StateChangeConfirmed[edit]

function StateChangeConfirmed ()

Overrides: StateChangeConfirmed (global)


MutatorInfoTransfer.TransferTimer[edit]

function TransferTimer ()

Overrides: TransferBase.TransferTimer


ReplicatingToClient[edit]

Replicate the votes to the client. We send 1 vote at a time and wait for a response.

ReplicatingToClient.BeginState[edit]

event BeginState (name PrevStateName)

Overrides: Object.BeginState (global)

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

ReplicatingToClient.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


ReplicatingToClient.ServerAckTransfer[edit]

reliable server function ServerAckTransfer ()

Overrides: ServerAckTransfer (global)


TransferBase[edit]

TransferBase.BeginState[edit]

simulated event BeginState (name PreviousStateName)

Overrides: Object.BeginState (global)

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

TransferBase.EndState[edit]

event EndState (name NextStateName)

Overrides: Object.EndState (global)

Called immediately before going out of the current state, while within the GotoState() call that caused the state change, and before BeginState() is called within the new state.

TransferBase.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


TransferBase.DisableTransferTimer[edit]

function DisableTransferTimer ()


TransferBase.ServerResendInfo[edit]

reliable server function ServerResendInfo (byte Index)

Overrides: ServerResendInfo (global)


TransferBase.ServerRushTransfers[edit]

reliable server function ServerRushTransfers ()

Overrides: ServerRushTransfers (global)


TransferBase.SetDesiredTransferTime[edit]

function SetDesiredTransferTime (optional int Seconds, optional int NumTransfers, optional bool bEnableTick)

Overrides: SetDesiredTransferTime (global)


TransferBase.TransferTimer[edit]

function TransferTimer ()


Voting[edit]

Voting.BeginState[edit]

event BeginState (name PrevStateName)

Overrides: Object.BeginState (global)

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).