コード例 #1
0
        public override void Serialize(IDataWriter writer)
        {
            writer.WriteShort(((short)(m_movements.Count)));
            int movementsIndex;

            for (movementsIndex = 0; (movementsIndex < m_movements.Count); movementsIndex = (movementsIndex + 1))
            {
                EntityMovementInformations objectToSend = m_movements[movementsIndex];
                objectToSend.Serialize(writer);
            }
        }
コード例 #2
0
 public override void Serialize(ICustomDataOutput writer)
 {
     Movement.Serialize(writer);
 }
コード例 #3
0
 public override void Serialize(IDataWriter writer)
 {
     m_movement.Serialize(writer);
 }