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(); }
public static void WriteParticleAttachType(this PacketWriter writer, ParticleAttachType data) { writer.WriteByte((byte)data); }