示例#1
0
        public static void GetWeaponType(uint cid
                                         , out bool out_melee
                                         , out bool out_magic
                                         )
        {
            uint sword = 0;
            uint lance = 0;
            uint axe   = 0;
            uint bow   = 0;
            uint staff = 0;
            uint anima = 0;
            uint light = 0;
            uint dark  = 0;

            ClassForm.GetWeaponLevel(cid
                                     , out sword
                                     , out lance
                                     , out axe
                                     , out bow
                                     , out staff
                                     , out anima
                                     , out light
                                     , out dark
                                     );
            out_melee = sword > 0 || lance > 0 || axe > 0 || bow > 0;
            out_magic = staff > 0 || anima > 0 || light > 0 || dark > 0;
        }