local ZPDef = ZPFramework.ZPImport("zp_base.luaScript.ZPDef") local ZPSound = ZPFramework.ZPFrameworkClassImprot("zp_base.luaScript.ZPSound") local xuyongSound = class("xuyongSound", ZPSound) xuyongSound.man = "c_man" xuyongSound.women = "c_women" xuyongSound.pre = "c_" xuyongSound.sound_t = 1 local function dealSex(s) local sex=tonumber(s) if sex~=1 and sex~=2 then sex=1 end return 2--sex end function xuyongSound.PlayOperateSound(sex,opType) if xuyongSound.sound_t == 1 then--普通话 xuyongSound.super.PlayOperateSound(sex,opType) end end function xuyongSound.PlayZPSound(sex,value) if xuyongSound.sound_t == 1 then--普通话 xuyongSound.super.PlayZPSound(sex,value) end end return xuyongSound