Add server side accounting for blend factor
Signed-off-by: puvvadar <puvvadar@amazon.com>
This commit is contained in:
@@ -44,6 +44,9 @@ namespace Multiplayer
|
||||
AZ::TimeMs GetHostTimeMs() const;
|
||||
AZ::TimeMs& ModifyHostTimeMs();
|
||||
|
||||
void SetHostBlendFactor(float hostBlendFactor);
|
||||
float GetHostBlendFactor() const;
|
||||
|
||||
void AttachNetBindComponent(NetBindComponent* netBindComponent);
|
||||
|
||||
bool Serialize(AzNetworking::ISerializer& serializer);
|
||||
@@ -72,6 +75,7 @@ namespace Multiplayer
|
||||
ClientInputId m_inputId = ClientInputId{ 0 };
|
||||
HostFrameId m_hostFrameId = InvalidHostFrameId;
|
||||
AZ::TimeMs m_hostTimeMs = AZ::TimeMs{ 0 };
|
||||
float m_hostBlendFactor = 0.f;
|
||||
ConstNetworkEntityHandle m_owner;
|
||||
bool m_wasAttached = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user