Exemplo n.º 1
0
        public AttachFlexParticleS2C(PacketReader reader, ChannelID channelID, NetID senderNetID)
        {
            this.SenderNetID = senderNetID;
            this.ChannelID   = channelID;

            this.NetID              = reader.ReadNetID();
            this.FlexID             = reader.ReadFlexID();
            this.CpIndex            = reader.ReadByte();
            this.ParticleAttachType = reader.ReadParticleAttachType();

            this.ExtraBytes = reader.ReadLeft();
        }
Exemplo n.º 2
0
 public static void WriteParticleAttachType(this PacketWriter writer, ParticleAttachType data)
 {
     writer.WriteByte((byte)data);
 }