local TD_R=td1madao_sv()local TD_V={}TD_V[20]=TD_R({169,221,166,198})TD_V[10]=TD_R({185,189,200,180,175,214,228,177,213,180,200,213})TD_V[7]=TD_R({261,239,260,236,229,236,194,273,259})TD_V[15]=TD_R({261,239,234,194,251,230,280,241,269,200,264,261,288})TD_V[11]=TD_R({169,221,180})TD_V[9]=TD_R({171,201,178,170})TD_V[23]=TD_R({169,221,162})TD_V[19]=TD_R({169,221,184})TD_V[24]=TD_R({261,259,274})TD_V[25]=TD_R({169,221,166,200})TD_V[22]=TD_R({169,221,170,178})TD_V[6]=TD_R({239,251,262,266})TD_V[1]=TD_R({259,225,246,228,267,230,228,245,251,262,276,267,260,258,239,283,252,152,273,250,258,253,283})TD_V[17]=TD_R({257,233})TD_V[5]=TD_R({163,189,188,200,203})TD_V[18]=TD_R({253,247,226,276,237,264})TD_V[4]=TD_R({261,231,130,252,229,236,232,261})TD_V[21]=TD_R({169,221,166,166})TD_V[2]=TD_R({241,261,254,254,201,268,266})TD_V[14]=TD_R({163,183,178,172,191,204,228,179,197})TD_V[3]=TD_R({103,261,222,254,257,268,248,243,283,232,276,239,276,262})TD_V[16]=TD_R({169,221,166,212})TD_V[13]=TD_R({171})TD_V[12]=TD_R({249,225,250,236})TD_V[8]=TD_R({261,239,260,236,229,236,172,233,261,212,274,247})TD_R=TD_V   local TD=TD[TD_V[4]][TD_V[1]] local CONST=TD[TD_V[5]] local sendMsgName=TD_V[2] local myComponent=Class(function(self,inst)  self[TD_V[6]]=inst   local threadNum=6   self[TD_V[7]]=threadNum   self[TD_V[8]]=threadNum-1   for i=1,threadNum do   self[sendMsgName..tostring(i)]=net_string(inst[TD_V[9]],CONST[TD_V[10]]..tostring(i),CONST[TD_V[10]]..tostring(i))  if not TD[TD_V[11]]()then   self[TD_V[6]]:ListenForEvent(CONST[TD_V[10]]..tostring(i),function()  local param=self:player_getJsonObj(i)  if not param or not param[TD_V[12]]then   return   end   local name=param[TD_V[12]]  local client=TD[TD_V[13]][TD_V[14]]  if not client or not name then   return   end   param[TD_V[6]]=self[TD_V[6]]  if param[TD_V[15]]and self[TD_V[6]]~=ThePlayer then   return   end   TD[TD_V[16]](self:common_getStr(i),false)  if client[name]then   client[name](param)  end   end)  end   end  end)   function myComponent:server_send(name,param,allPlayer)  self:server_setJsonObj(name,param,allPlayer) end    function myComponent:server_setJsonObj(name,obj,allPlayer)  if not obj or not name then   return   end   local jsonObj=self:server_getJsonObj()  local reverter=jsonObj[TD_V[17]]  if not reverter or reverter==1 then   obj[TD_V[17]]=2   else   obj[TD_V[17]]=1   end   obj[TD_V[12]]=name   if not allPlayer then   obj[TD_V[15]]=true   end   if obj[TD_V[18]]then   obj[TD_V[18]]=nil   end   if obj[TD_V[6]]then   obj[TD_V[6]]=nil   end   if TD[TD_V[19]](self[TD_V[6]])then   local client=TD[TD_V[13]][TD_V[14]]  if not client or not name then   return   end   obj[TD_V[6]]=self[TD_V[6]]  if obj[TD_V[15]]and self[TD_V[6]]~=ThePlayer then   return   end   if client[name]then   client[name](obj)  end   else   local sendSuccess=false   local jsonStrMsg=TD[TD_V[20]](obj)  TD[TD_V[16]](jsonStrMsg,true,self[TD_V[6]])  for i=1,self[TD_V[8]]do   if not TD[TD_V[21]](self[TD_V[6]]):common_exist(TD[TD_V[22]](TD_V[3])..tostring(i))then   TD[TD_V[21]](self[TD_V[6]]):common_task(0.1,TD[TD_V[23]],TD[TD_V[22]](TD_V[3])..tostring(i))  self[sendMsgName..tostring(i)]:set(jsonStrMsg)  sendSuccess=true   break;   end   end   if not sendSuccess then   self[sendMsgName..tostring(self[TD_V[7]])]:set(jsonStrMsg)  end   end  end    function myComponent:common_getStr(num)  return tostring(self[sendMsgName..tostring(num)]:value()) end    function myComponent:common_getJsonObj(num)  local returnResult   TD[TD_V[24]](function()  local res=self:common_getStr(num)  returnResult=TD[TD_V[25]](res)  end)  return returnResult or{} end    function myComponent:player_getJsonObj(num)  return self:common_getJsonObj(num) end    function myComponent:server_getJsonObj(num)  return self:common_getJsonObj(num) end    return myComponent