Class NetworkAnimation
Synchronizes legacy animation over the network.
Inheritance
System.Object
NetworkAnimation
Assembly: cs.temp.dll.dll
Syntax
public sealed class NetworkAnimation : NetworkComponent, INetworkAuthoritative
Fields
Animation
Animation component to synchronize. Required.
Declaration
public Animation Animation
Field Value
Type |
Description |
Animation |
|
ReceiveDelay
Declaration
public float ReceiveDelay
Field Value
Type |
Description |
System.Single |
|
SendIntervalMin
Declaration
public float SendIntervalMin
Field Value
Type |
Description |
System.Single |
|
SyncChannel
Declaration
Field Value
Type |
Description |
System.Byte |
|
SyncMethod
Which method to synchronize in.
Declaration
public NetworkSyncModeMethod SyncMethod
Field Value
Properties
IsAuthority
Send updates to remote peers.
Declaration
public bool IsAuthority { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
OnNetworkConnect(Peer)
Declaration
public override void OnNetworkConnect(Peer peer)
Parameters
Type |
Name |
Description |
Peer |
peer |
|
Overrides
OnNetworkDisconnect(Peer)
Declaration
public override void OnNetworkDisconnect(Peer peer)
Parameters
Type |
Name |
Description |
Peer |
peer |
|
Overrides
OnNetworkMessage(Peer, Reader, MessageReceived)
Declaration
public override void OnNetworkMessage(Peer peer, Reader reader, MessageReceived info)
Parameters
Overrides
OnNetworkRegister()
Declaration
public override void OnNetworkRegister()
Overrides
OnNetworkResend(Peer, Peer, Reader, MessageReceived)
Declaration
public override bool OnNetworkResend(Peer origin, Peer peer, Reader reader, MessageReceived info)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
SetAuthority(Boolean)
Update authority on this component.
Declaration
public void SetAuthority(bool authority)
Parameters
Type |
Name |
Description |
System.Boolean |
authority |
Authority to set.
|
Explicit Interface Implementations
INetworkAuthoritative.OnNetworkAuthorityUpdate(Boolean, HostTimestamp)
Declaration
void INetworkAuthoritative.OnNetworkAuthorityUpdate(bool authority, HostTimestamp timestamp)
Parameters
Type |
Name |
Description |
System.Boolean |
authority |
|
HostTimestamp |
timestamp |
|
Implements