コード例 #1
0
        public void Write(GamePacketWriter writer)
        {
            writer.Write(Positions.Count, 10u);
            Positions.ForEach(p => p.Write(writer));

            writer.WritePackedFloat(Speed);
            writer.Write(Type, 2u);
            writer.Write(Mode, 4u);
            writer.Write(Offset);
            writer.Write(Blend);
        }
コード例 #2
0
        public void Write(GamePacketWriter writer)
        {
            writer.Write(SplineIds.Count, 10u);
            foreach (uint splineId in SplineIds)
            {
                writer.Write(splineId);
            }

            writer.WritePackedFloat(Speed);
            writer.Write(Position);
            writer.Write(TakeoffLocationHeight);
            writer.Write(LandingLocationHeight);
            writer.Write(Mode, 4);
            writer.Write(Offset);
            writer.Write(MultiSplineFlags);
            writer.Write(Blend);
        }