Exemple #1
0
 public void SetSynchInfoFromSynchObject(EntitySynchronizationDataObject other)
 {
     foreach (StateUpdateObject obj in other.BasicSyncInfo)
     {
         SetBasicSynchInfo(obj.Type, obj.Information);
     }
     foreach (ComponentSynchronizationDataObject obj in other.ComponentSyncInfo)
     {
         SetComponentSynchInfo(obj.ComponentType, obj.Data.ToArray());
     }
 }
Exemple #2
0
 public override void Initialise(BloodAndBileEngine.WorldState.WorldState worldState)
 {
     SynchData = new EntitySynchronizationDataObject(LinkedEntity.ID);
 }