InGame update messages include a timestamp which is passed to the ClientRead methods
Now only used in character position syncing, but some other entities may also have an use for it (e.g. discarding outdated data)
This commit is contained in:
@@ -666,7 +666,7 @@ namespace Barotrauma.Items.Components
|
||||
public virtual void ServerRead(NetIncomingMessage msg, Client c) { }
|
||||
|
||||
public virtual void ServerWrite(NetOutgoingMessage msg, Client c) { }
|
||||
public virtual void ClientRead(NetIncomingMessage msg) { }
|
||||
public virtual void ClientRead(NetIncomingMessage msg, float sendingTime) { }
|
||||
|
||||
public virtual XElement Save(XElement parentElement)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user