コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
 public static void WriteTipID(this PacketWriter writer, TipID data)
 {
     writer.WriteUInt32((uint)data);
 }