# DeliveryProgress_Model_DeliveryProgressActivityDefinition_1490.luac
; fn @DeliveryProgressActivityDefinition.lua  line 0-0 np=0 va=1 ms=8 code=84 consts=50 upvals=1 protos=0
;   K[0]='DeliveryProgressActivityDefinition'
;   K[1]='ActivityType'
;   K[2]='DeliveryProgress'
;   K[3]='ActivityDataTableName'
;   K[4]='VirtualDBTableName'
;   K[5]='ActivityTokenPropertyType'
;   K[6]='EPropertyType'
;   K[7]='StateChangedEvent'
;   K[8]='EEventType'
;   K[9]='DeliveryProgressActivityStateChanged'
;   K[10]='ScoreChangedEvent'
;   K[11]='DeliveryProgressActivityScoreChanged'
;   K[12]='QuestConditionChangedEvent'
;   K[13]='DeliveryProgressActivityQuestConditionChanged'
;   K[14]='QuestCompletedEvent'
;   K[15]='DeliveryProgressActivityQuestCompleted'
;   K[16]='RewardAcquiredEvent'
;   K[17]='DeliveryProgressActivityRewardAcquired'
;   K[18]='EntryPrefabName'
;   K[19]='UIPrefabConfigName'
;   K[20]='DeliveryProgressEntry'
;   K[21]='BoardEntryPrefabName'
;   K[22]='DeliveryProgressBoardEntry'
;   K[23]='MainWindowPrefabName'
;   K[24]='DeliveryProgressMainWindow'
;   K[25]='StartWindowPrefabName'
;   K[26]='DeliveryProgressActivityStartWindow'
;   K[27]='FinishFailWindowPrefabName'
;   K[28]='DeliveryProgressActivityFinishFailWindow'
;   K[29]='FinishSuccessWindowPrefabName'
;   K[30]='DeliveryProgressActivityFinishSuccessWindow'
;   K[31]='TaskCompleteHintPrefabName'
;   K[32]='DeliveryProgressTaskCellCompleteTip'
;   K[33]='ActivityTokenIconName'
;   K[34]='ImageFileConfigName'
;   K[35]='common_icon_takeout'
;   K[36]='ActivityTokenIconNameBig'
;   K[37]='delivery_token_icon'
;   K[38]='EntryButtonKey'
;   K[39]='ESceneViewHudButtonKey'
;   K[40]='MaxLevel'
;   K[41]=8
;   K[42]='TutorialStartCondition'
;   K[43]='ETutorialStartCondition'
;   K[44]='DeliveryProgressStart'
;   K[45]='ResourceLabels'
;   K[46]='AddressableLabel'
;   K[47]='pairs'
;   K[48]='EPropertySprite'
;   K[49]='EPropertySpriteBig'
;   upvals: _ENV
;   locals: (for generator)(69-83), (for state)(69-83), (for control)(69-83), activityType(70-81), activityDefinition(70-81)
0000  NEWTABLE  R0 = {} (0 items)
0001  GETTABUP  R1 = _ENV[K1('ActivityType')]
0002  GETTABLE  R1 = R1[K2('DeliveryProgress')]
0003  NEWTABLE  R2 = {} (0 items)
0004  GETTABUP  R3 = _ENV[K4('VirtualDBTableName')]
0005  GETTABLE  R3 = R3[K2('DeliveryProgress')]
0006  SETTABLE  R2[K3('ActivityDataTableName')] = R3
0007  GETTABUP  R3 = _ENV[K6('EPropertyType')]
0008  GETTABLE  R3 = R3[K2('DeliveryProgress')]
0009  SETTABLE  R2[K5('ActivityTokenPropertyType')] = R3
0010  GETTABUP  R3 = _ENV[K8('EEventType')]
0011  GETTABLE  R3 = R3[K9('DeliveryProgressActivityStateChanged')]
0012  SETTABLE  R2[K7('StateChangedEvent')] = R3
0013  GETTABUP  R3 = _ENV[K8('EEventType')]
0014  GETTABLE  R3 = R3[K11('DeliveryProgressActivityScoreChanged')]
0015  SETTABLE  R2[K10('ScoreChangedEvent')] = R3
0016  GETTABUP  R3 = _ENV[K8('EEventType')]
0017  GETTABLE  R3 = R3[K13('DeliveryProgressActivityQuestConditionChanged')]
0018  SETTABLE  R2[K12('QuestConditionChangedEvent')] = R3
0019  GETTABUP  R3 = _ENV[K8('EEventType')]
0020  GETTABLE  R3 = R3[K15('DeliveryProgressActivityQuestCompleted')]
0021  SETTABLE  R2[K14('QuestCompletedEvent')] = R3
0022  GETTABUP  R3 = _ENV[K8('EEventType')]
0023  GETTABLE  R3 = R3[K17('DeliveryProgressActivityRewardAcquired')]
0024  SETTABLE  R2[K16('RewardAcquiredEvent')] = R3
0025  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0026  GETTABLE  R3 = R3[K20('DeliveryProgressEntry')]
0027  SETTABLE  R2[K18('EntryPrefabName')] = R3
0028  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0029  GETTABLE  R3 = R3[K22('DeliveryProgressBoardEntry')]
0030  SETTABLE  R2[K21('BoardEntryPrefabName')] = R3
0031  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0032  GETTABLE  R3 = R3[K24('DeliveryProgressMainWindow')]
0033  SETTABLE  R2[K23('MainWindowPrefabName')] = R3
0034  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0035  GETTABLE  R3 = R3[K26('DeliveryProgressActivityStartWindow')]
0036  SETTABLE  R2[K25('StartWindowPrefabName')] = R3
0037  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0038  GETTABLE  R3 = R3[K28('DeliveryProgressActivityFinishFailWindow')]
0039  SETTABLE  R2[K27('FinishFailWindowPrefabName')] = R3
0040  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0041  GETTABLE  R3 = R3[K30('DeliveryProgressActivityFinishSuccessWindow')]
0042  SETTABLE  R2[K29('FinishSuccessWindowPrefabName')] = R3
0043  GETTABUP  R3 = _ENV[K19('UIPrefabConfigName')]
0044  GETTABLE  R3 = R3[K32('DeliveryProgressTaskCellCompleteTip')]
0045  SETTABLE  R2[K31('TaskCompleteHintPrefabName')] = R3
0046  GETTABUP  R3 = _ENV[K34('ImageFileConfigName')]
0047  GETTABLE  R3 = R3[K35('common_icon_takeout')]
0048  SETTABLE  R2[K33('ActivityTokenIconName')] = R3
0049  GETTABUP  R3 = _ENV[K34('ImageFileConfigName')]
0050  GETTABLE  R3 = R3[K37('delivery_token_icon')]
0051  SETTABLE  R2[K36('ActivityTokenIconNameBig')] = R3
0052  GETTABUP  R3 = _ENV[K39('ESceneViewHudButtonKey')]
0053  GETTABLE  R3 = R3[K2('DeliveryProgress')]
0054  SETTABLE  R2[K38('EntryButtonKey')] = R3
0055  SETTABLE  R2[K40('MaxLevel')] = K41(8)
0056  GETTABUP  R3 = _ENV[K43('ETutorialStartCondition')]
0057  GETTABLE  R3 = R3[K44('DeliveryProgressStart')]
0058  SETTABLE  R2[K42('TutorialStartCondition')] = R3
0059  NEWTABLE  R3 = {} (1 items)
0060  GETTABUP  R4 = _ENV[K46('AddressableLabel')]
0061  GETTABLE  R4 = R4[K2('DeliveryProgress')]
0062  SETLIST   setlist R3[B=1,C=1]
0063  SETTABLE  R2[K45('ResourceLabels')] = R3
0064  SETTABLE  R0[R1] = R2
0065  SETTABUP  _ENV[K0('DeliveryProgressActivityDefinition')] = R0
0066  GETTABUP  R0 = _ENV[K47('pairs')]
0067  GETTABUP  R1 = _ENV[K0('DeliveryProgressActivityDefinition')]
0068  CALL      R0 = call(R0, 3 args, 1 rets)
0069  JMP       (jump)   -> 81
0070  GETTABUP  R5 = _ENV[K48('EPropertySprite')]
0071  GETTABLE  R6 = R4[K5('ActivityTokenPropertyType')]
0072  GETTABLE  R7 = R4[K33('ActivityTokenIconName')]
0073  SETTABLE  R5[R6] = R7
0074  GETTABUP  R5 = _ENV[K49('EPropertySpriteBig')]
0075  GETTABLE  R6 = R4[K5('ActivityTokenPropertyType')]
0076  GETTABLE  R7 = R4[K36('ActivityTokenIconNameBig')]
0077  TEST      if not R7 then   -> -130992
0078  JMP       (jump)   -> 80
0079  GETTABLE  R7 = R4[K33('ActivityTokenIconName')]
0080  SETTABLE  R5[R6] = R7
0081  TFORCALL  tforcall R0
0082  TFORLOOP  tforloop R2(sBx=-13)   -> 70
0083  RETURN    return R0..R-1
