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

Engine.CoverReplicator

Extends
ReplicationInfo

this handles replicating cover changes to a client can't use variable replication on the CoverLinks because the slots list is a dynamic array also, that could potentially be a whole lot of channels if LDs mess with a lot of cover via Kismet, so this is more efficient

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.ReplicationInfo
         |   
         +-- Engine.CoverReplicator

Variables Summary
array<CoverReplicationInfo>CoverReplicationData

Structures Summary
CoverReplicationInfo
Link, SlotsEnabled, SlotsDisabled, SlotsAdjusted, SlotsCoverTypeChanged
ManualCoverTypeInfo
SlotIndex, ManualCoverType
Inherited Structures from Engine.Info
KeyValuePair, PlayerResponseLine, ServerResponseLine

Functions Summary
function ClientReceiveAdjustedSlots (int Index, CoverLink Link, byte NumSlotsAdjusted, byte SlotsAdjusted[8], bool bDone))
function ClientReceiveDisabledSlots (int Index, CoverLink Link, byte NumSlotsDisabled, byte SlotsDisabled[8], bool bDone))
function ClientReceiveEnabledSlots (int Index, CoverLink Link, byte NumSlotsEnabled, byte SlotsEnabled[8], bool bDone))
function ClientReceiveInitialCoverReplicationInfo (int Index, CoverLink Link, byte NumSlotsEnabled, byte SlotsEnabled[8], byte NumSlotsDisabled, byte SlotsDisabled[8], byte NumSlotsAdjusted, byte SlotsAdjusted[8], byte NumCoverTypesChanged, ManualCoverTypeInfo SlotsCoverTypeChanged[8], bool bDone ))
function ClientReceiveManualCoverTypeSlots (int Index, CoverLink Link, byte NumCoverTypesChanged, ManualCoverTypeInfo SlotsCoverTypeChanged[8], bool bDone ))
function NotifyAutoAdjustSlots (CoverLink Link, const out array<int> SlotIndices))
function NotifyDisabledSlots (CoverLink Link, const out array<int> SlotIndices))
function NotifyEnabledSlots (CoverLink Link, const out array<int> SlotIndices))
function NotifySetManualCoverTypeForSlots (CoverLink Link, const out array<int> SlotIndices, ECoverType NewCoverType))
function PurgeOldEntries ()))
function ReplicateInitialCoverInfo ()))
function ServerSendAdjustedSlots (int Index))
function ServerSendDisabledSlots (int Index))
function ServerSendEnabledSlots (int Index))
function ServerSendInitialCoverReplicationInfo (int Index))
function ServerSendManualCoverTypeSlots (int Index))


Variables Detail

CoverReplicationData Source code

var array<CoverReplicationInfo> CoverReplicationData;


Structures Detail

CoverReplicationInfo Source code

struct CoverReplicationInfo
{
var CoverLink Link;
var array<byte> SlotsAdjusted;
var array<ManualCoverTypeInfo> SlotsCoverTypeChanged;
var array<byte> SlotsDisabled;
var array<byte> SlotsEnabled;
};

Link:
CoverLink that was changed
SlotsAdjusted:
indices of slots that were adjusted
SlotsCoverTypeChanged:
slots that have had cover type manually set
SlotsDisabled:
indices of slots that were disabled
SlotsEnabled:
indices of slots that were enabled

ManualCoverTypeInfo Source code

struct ManualCoverTypeInfo
{
var ECoverType ManualCoverType;
var byte SlotIndex;
};



Functions Detail

ClientReceiveAdjustedSlots Source code

reliable client function ClientReceiveAdjustedSlots ( int Index, CoverLink Link, byte NumSlotsAdjusted, byte SlotsAdjusted[8], bool bDone) )
client receives just the auto-adjusted slots for the given CoverLink

ClientReceiveDisabledSlots Source code

reliable client function ClientReceiveDisabledSlots ( int Index, CoverLink Link, byte NumSlotsDisabled, byte SlotsDisabled[8], bool bDone) )
client receives just the disabled slots for the given CoverLink

ClientReceiveEnabledSlots Source code

reliable client function ClientReceiveEnabledSlots ( int Index, CoverLink Link, byte NumSlotsEnabled, byte SlotsEnabled[8], bool bDone) )
client receives just the enabled slots for the given CoverLink

ClientReceiveInitialCoverReplicationInfo Source code

reliable client function ClientReceiveInitialCoverReplicationInfo ( int Index, CoverLink Link, byte NumSlotsEnabled, byte SlotsEnabled[8], byte NumSlotsDisabled, byte SlotsDisabled[8], byte NumSlotsAdjusted, byte SlotsAdjusted[8], byte NumCoverTypesChanged, ManualCoverTypeInfo SlotsCoverTypeChanged[8], bool bDone ) )
replicates the information for one CoverReplicationData entry bDone indicates whether or not there is more data coming for this entry (because some arrays have more than 8 elements)

ClientReceiveManualCoverTypeSlots Source code

reliable client function ClientReceiveManualCoverTypeSlots ( int Index, CoverLink Link, byte NumCoverTypesChanged, ManualCoverTypeInfo SlotsCoverTypeChanged[8], bool bDone ) )
client receives just the manual adjusted slots for the given CoverLink

NotifyAutoAdjustSlots Source code

function NotifyAutoAdjustSlots ( CoverLink Link, const out array<int> SlotIndices) )
notification that the slots on the given CoverLink have been auto-adjusted

NotifyDisabledSlots Source code

function NotifyDisabledSlots ( CoverLink Link, const out array<int> SlotIndices) )
notification that the slots on the given CoverLink have been disabled

NotifyEnabledSlots Source code

function NotifyEnabledSlots ( CoverLink Link, const out array<int> SlotIndices) )
notification that slots on the given CoverLink have been enabled

NotifySetManualCoverTypeForSlots Source code

function NotifySetManualCoverTypeForSlots ( CoverLink Link, const out array<int> SlotIndices, ECoverType NewCoverType) )
notification that the slots on the given CoverLink have been manually adjusted

PurgeOldEntries Source code

function PurgeOldEntries ( ) )
removes entries that are no longer valid (i.e. the CoverLink has been streamed out)

ReplicateInitialCoverInfo Source code

function ReplicateInitialCoverInfo ( ) )
copies and starts replicating already changed cover info

ServerSendAdjustedSlots Source code

reliable server function ServerSendAdjustedSlots ( int Index) )
send just the auto-adjusted slots for the CoverLink at the given index

ServerSendDisabledSlots Source code

reliable server function ServerSendDisabledSlots ( int Index) )
send just the disabled slots for the CoverLink at the given index

ServerSendEnabledSlots Source code

reliable server function ServerSendEnabledSlots ( int Index) )
send just the enabled slots for the CoverLink at the given index

ServerSendInitialCoverReplicationInfo Source code

reliable server function ServerSendInitialCoverReplicationInfo ( int Index) )
sends info for one CoverReplicationData to the client

ServerSendManualCoverTypeSlots Source code

reliable server function ServerSendManualCoverTypeSlots ( int Index) )
send just the manual adjusted slots for the CoverLink at the given index


Defaultproperties

defaultproperties
{
   bOnlyRelevantToOwner=True
   bAlwaysRelevant=False
   NetUpdateFrequency=0.100000
   Name="Default__CoverReplicator"
   ObjectArchetype=ReplicationInfo'Engine.Default__ReplicationInfo'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:35.663 - Created with UnCodeX