Exemplo n.º 1
0
 public override void Read(PacketReader r)
 {
     EffectType = (EffectType)r.ReadByte();
     TargetId = r.ReadInt32();
     PosA =(Location) new Location().Read(r);
     PosB = (Location) new Location().Read(r);
     Color = ARGB.Read(r);
 }
Exemplo n.º 2
0
        public static ARGB Read(PacketReader r)
        {
            ARGB ret = new ARGB();

            ret.A = r.ReadByte();
            ret.R = r.ReadByte();
            ret.G = r.ReadByte();
            ret.B = r.ReadByte();
            return(ret);
        }
Exemplo n.º 3
0
 public static ARGB Read(PacketReader r)
 {
     ARGB ret = new ARGB();
     ret.A = r.ReadByte();
     ret.R = r.ReadByte();
     ret.G = r.ReadByte();
     ret.B = r.ReadByte();
     return ret;
 }