/// <summary>
 /// When implemented in derived class, synchronizes this entity with it's
 /// representations on remote computers.
 /// </summary>
 /// <param name="syncronizer">Object that handles the synchronization.</param>
 /// <param name="aspect">     
 /// Aspect of the entity that needs synchronization.
 /// </param>
 /// <param name="profile">    Which profile to synchronize.</param>
 /// <param name="flags">      Physics flags to use in syncronization.</param>
 public abstract void NetworkSynchronize(CrySerialize syncronizer, EntityAspects aspect, byte profile, int flags);
Beispiel #2
0
        private void InternalNetSerialize(CrySerialize serialize, int aspect, byte profile, int flags)
        {
            // var serialize = new Serialization.CrySerialize();

            //serialize.Handle = handle;

            this.NetSerialize(serialize, aspect, profile, flags);
        }
 /// <summary>
 /// When implemented in derived class, synchronizes this entity with it's
 /// representation somewhere else.
 /// </summary>
 /// <param name="syncronizer">Object that handles the synchronization.</param>
 public abstract void FullSynchronize(CrySerialize syncronizer);
Beispiel #4
0
        private void InternalFullSerialize(CrySerialize serialize)
        {
            //var serialize = new Serialization.CrySerialize();
            //serialize.Handle = handle;

            this.FullSerialize(serialize);
        }