public C2S_OnTipEvent(PacketReader reader, ChannelID channelID, NetID senderNetID) { this.SenderNetID = senderNetID; this.ChannelID = channelID; this.TipCommand = reader.ReadTipCommand(); this.TipID = reader.ReadTipID(); this.ExtraBytes = reader.ReadLeft(); }
public S2C_HandleTipUpdate(PacketReader reader, ChannelID channelID, NetID senderNetID) { this.SenderNetID = senderNetID; this.ChannelID = channelID; this.TipName = reader.ReadFixedString(128); this.TipOther = reader.ReadFixedString(128); this.TipImagePath = reader.ReadFixedString(128); this.TipCommand = reader.ReadTipCommand(); this.TipID = reader.ReadTipID(); this.ExtraBytes = reader.ReadLeft(); }
public static void WriteTipID(this PacketWriter writer, TipID data) { writer.WriteUInt32((uint)data); }