//------------------------------------------------------------------------------ public virtual void CountGameRpgItemWeaponByUuidByGameId() { string _uuid = (string)util.GetParamValue(_context, "uuid"); string _game_id = (string)util.GetParamValue(_context, "game_id"); ResponseGameRpgItemWeaponInt wrapper = new ResponseGameRpgItemWeaponInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-rpg-item-weapon/count/by-uuid/by-game-id"; int i = api.CountGameRpgItemWeaponByUuidByGameId( _uuid , _game_id ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameRpgItemWeapon() { ResponseGameRpgItemWeaponInt wrapper = new ResponseGameRpgItemWeaponInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-rpg-item-weapon/count"; int i = api.CountGameRpgItemWeapon( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }