Exemple #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameRpgItemSkillByUuidByGameId()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");
            string _game_id = (string)util.GetParamValue(_context, "game_id");

            ResponseGameRpgItemSkillInt wrapper = new ResponseGameRpgItemSkillInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-rpg-item-skill/count/by-uuid/by-game-id";

            int i = api.CountGameRpgItemSkillByUuidByGameId(
                _uuid
                , _game_id
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemple #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameRpgItemSkill()
        {
            ResponseGameRpgItemSkillInt wrapper = new ResponseGameRpgItemSkillInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-rpg-item-skill/count";

            int i = api.CountGameRpgItemSkill(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }