示例#1
0
        int pingstuff(PacketStream ps)
        {
            uint value = (uint)ps.ReadInt();

            send_ping_249(value);
            return(1);
        }
示例#2
0
        int weapondrop(PacketStream ps)
        {
            byte  id      = ps.ReadByte();
            byte  wpn_id  = ps.ReadByte();
            short ammo_in = ps.ReadShort();
            short ammo    = ps.ReadShort();
            byte  uk0     = ps.ReadByte(); //mode?
            byte  uk1     = ps.ReadByte(); //mode?
            byte  uk2     = ps.ReadByte(); //mode?
            int   tilex   = ps.ReadInt();
            int   tiley   = ps.ReadInt();

            ps.ReadByte();


            botLogics.OnWeaponDrop((int)wpn_id, tilex, tiley, ammo, ammo_in);

            return(1);
        }
示例#3
0
 int pingstuff(PacketStream ps)
 {
     uint value = (uint)ps.ReadInt();
     send_ping_249(value);
     return 1;
 }
示例#4
0
        int weapondrop(PacketStream ps)
        {
            byte id = ps.ReadByte();
            byte wpn_id = ps.ReadByte();
            short ammo_in = ps.ReadShort();
            short ammo = ps.ReadShort();
            byte uk0 = ps.ReadByte();//mode?
            byte uk1 = ps.ReadByte();//mode?
            byte uk2 = ps.ReadByte();//mode?
            int tilex = ps.ReadInt();
            int tiley = ps.ReadInt();
            ps.ReadByte();

            botLogics.OnWeaponDrop((int)wpn_id, tilex, tiley, ammo, ammo_in);

            return 1;
        }