限时兑换 文字修改
parent
e334375798
commit
971622a4c5
|
@ -125,6 +125,7 @@ MAPTOWERCALLCHIEFRESPONSE_MONSTERINFO_FIELD = protobuf.FieldDescriptor();
|
|||
MAPTOWERUSEBOMBRESPONSE = protobuf.Descriptor();
|
||||
MAPTOWERUSEBOMBRESPONSE_ESSENCEVALUE_FIELD = protobuf.FieldDescriptor();
|
||||
MAPTOWERUSEBOMBRESPONSE_DROP_FIELD = protobuf.FieldDescriptor();
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD = protobuf.FieldDescriptor();
|
||||
DIFFICULTMAPREQUEST = protobuf.Descriptor();
|
||||
DIFFICULTMAPREQUEST_MAPINFO_FIELD = protobuf.FieldDescriptor();
|
||||
TOWERREWARDREQUEST = protobuf.Descriptor();
|
||||
|
@ -1324,11 +1325,22 @@ MAPTOWERUSEBOMBRESPONSE_DROP_FIELD.message_type = CommonProto_pb.DROP
|
|||
MAPTOWERUSEBOMBRESPONSE_DROP_FIELD.type = 11
|
||||
MAPTOWERUSEBOMBRESPONSE_DROP_FIELD.cpp_type = 10
|
||||
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.name = "cell"
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.full_name = ".com.ljsd.jieling.protocols.MapTowerUseBombResponse.cell"
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.number = 3
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.index = 2
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.label = 1
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.has_default_value = false
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.default_value = nil
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.message_type = CommonProto_pb.CELL
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.type = 11
|
||||
MAPTOWERUSEBOMBRESPONSE_CELL_FIELD.cpp_type = 10
|
||||
|
||||
MAPTOWERUSEBOMBRESPONSE.name = "MapTowerUseBombResponse"
|
||||
MAPTOWERUSEBOMBRESPONSE.full_name = ".com.ljsd.jieling.protocols.MapTowerUseBombResponse"
|
||||
MAPTOWERUSEBOMBRESPONSE.nested_types = {}
|
||||
MAPTOWERUSEBOMBRESPONSE.enum_types = {}
|
||||
MAPTOWERUSEBOMBRESPONSE.fields = {MAPTOWERUSEBOMBRESPONSE_ESSENCEVALUE_FIELD, MAPTOWERUSEBOMBRESPONSE_DROP_FIELD}
|
||||
MAPTOWERUSEBOMBRESPONSE.fields = {MAPTOWERUSEBOMBRESPONSE_ESSENCEVALUE_FIELD, MAPTOWERUSEBOMBRESPONSE_DROP_FIELD, MAPTOWERUSEBOMBRESPONSE_CELL_FIELD}
|
||||
MAPTOWERUSEBOMBRESPONSE.is_extendable = false
|
||||
MAPTOWERUSEBOMBRESPONSE.extensions = {}
|
||||
DIFFICULTMAPREQUEST_MAPINFO_FIELD.name = "mapInfo"
|
||||
|
|
|
@ -78,8 +78,9 @@ this.liveName=nil
|
|||
function ExChange:ExChangeShow()
|
||||
local LimitExchange = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.LimitExchange)
|
||||
if LimitExchange then
|
||||
local str = Language[11496]
|
||||
Log("LimitExchange "..LimitExchange.endTime)
|
||||
PatFaceManager.RemainTimeDown(this.timeTextExChangeGo,this.timeTextExChange,LimitExchange.endTime - GetTimeStamp())
|
||||
PatFaceManager.RemainTimeDown(this.timeTextExChangeGo,this.timeTextExChange,LimitExchange.endTime - GetTimeStamp(),str)
|
||||
else
|
||||
this.timeTextExChangeGo:SetActive(false)
|
||||
end
|
||||
|
|
|
@ -186,13 +186,18 @@ function this.GetTimeStrBySeconds(_seconds)
|
|||
end
|
||||
this.timer = Timer.New()
|
||||
--刷新倒计时显示
|
||||
function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown)
|
||||
function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown,str)
|
||||
if timeDown > 0 then
|
||||
if _timeTextExpertgo then
|
||||
_timeTextExpertgo:SetActive(true)
|
||||
end
|
||||
if _timeTextExpert then
|
||||
_timeTextExpert.text = Language[10028]..this.TimeStampToDateString(timeDown)
|
||||
if str then
|
||||
_timeTextExpert.text = str..this.TimeStampToDateString(timeDown)
|
||||
else
|
||||
_timeTextExpert.text = Language[10028]..this.TimeStampToDateString(timeDown)
|
||||
end
|
||||
|
||||
end
|
||||
if this.timer then
|
||||
this.timer:Stop()
|
||||
|
@ -200,7 +205,11 @@ function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown)
|
|||
end
|
||||
this.timer = Timer.New(function()
|
||||
if _timeTextExpert then
|
||||
_timeTextExpert.text = Language[10028]..this.TimeStampToDateString(timeDown)
|
||||
if str then
|
||||
_timeTextExpert.text = str..this.TimeStampToDateString(timeDown)
|
||||
else
|
||||
_timeTextExpert.text = Language[10028]..this.TimeStampToDateString(timeDown)
|
||||
end
|
||||
end
|
||||
if timeDown < 0 then
|
||||
if _timeTextExpertgo then
|
||||
|
|
Loading…
Reference in New Issue