Exemple #1
0
        /// <summary>
        /// 角色攻击
        /// </summary>
        /// <param name="hurt">伤害值</param>
        public void Attack(uint hurt)
        {
            MemoryStream msdata = new MemoryStream();

            Module_22.write_22_10(msdata, hurt);
            AppNet.gameNet.send(msdata, 22, 10);
        }
Exemple #2
0
        /**
         * 鼓舞,type 鼓舞类型
         */
        public void GuWu(byte type)
        {
            MemoryStream msdata = new MemoryStream();

            Module_22.write_22_4(msdata, type);
            AppNet.gameNet.send(msdata, 22, 4);
        }