# ChestCustomerActivity_Model_ChestCustomerActivityConfig_1678.luac
; fn @ChestCustomerActivityConfig.lua  line 0-0 np=0 va=1 ms=3 code=34 consts=13 upvals=1 protos=9
;   K[0]='ChestCustomerActivityConfig'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='ChestCustomerActivityConfig'
;   K[4]='GetScoreMin'
;   K[5]='GetScoreMax'
;   K[6]='GetRewardPercentage'
;   K[7]='GetWeight'
;   K[8]=60
;   K[9]='GetDurationInSeconds'
;   K[10]='GetMaxRewardScore'
;   K[11]='GetMinRewardNum'
;   K[12]='GetRewardType'
;   upvals: _ENV
;   locals: Minute(21-34)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ChestCustomerActivityConfig')] = R0
0002  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityConfig')]
0003  GETTABUP  R1 = _ENV[K0('ChestCustomerActivityConfig')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityConfig')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('ChestCustomerActivityConfig')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('GetScoreMin')] = R1
0011  GETTABUP  R0 = _ENV[K3('ChestCustomerActivityConfig')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetScoreMax')] = R1
0014  GETTABUP  R0 = _ENV[K3('ChestCustomerActivityConfig')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetRewardPercentage')] = R1
0017  GETTABUP  R0 = _ENV[K3('ChestCustomerActivityConfig')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('GetWeight')] = R1
0020  LOADK     R0 = K8 60
0021  GETTABUP  R1 = _ENV[K3('ChestCustomerActivityConfig')]
0022  CLOSURE   R2 = closure proto5
0023  SETTABLE  R1[K9('GetDurationInSeconds')] = R2
0024  GETTABUP  R1 = _ENV[K3('ChestCustomerActivityConfig')]
0025  CLOSURE   R2 = closure proto6
0026  SETTABLE  R1[K10('GetMaxRewardScore')] = R2
0027  GETTABUP  R1 = _ENV[K3('ChestCustomerActivityConfig')]
0028  CLOSURE   R2 = closure proto7
0029  SETTABLE  R1[K11('GetMinRewardNum')] = R2
0030  GETTABUP  R1 = _ENV[K3('ChestCustomerActivityConfig')]
0031  CLOSURE   R2 = closure proto8
0032  SETTABLE  R1[K12('GetRewardType')] = R2
0033  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 14-20 np=1 va=0 ms=5 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ShallowCopy'
  ;   K[2]='setmetatable'
  ;   K[3]='ChestCustomerActivityConfig'
  ;   K[4]='rawConfig'
  ;   upvals: _ENV
  ;   locals: rawConfig(0-11), tb(4-11), instance(8-11)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('ShallowCopy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K2('setmetatable')]
  0005  MOVE      R3 = R0
  0006  GETTABUP  R4 = _ENV[K3('ChestCustomerActivityConfig')]
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  SETTABLE  R2[K4('rawConfig')] = R0
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto1 [GetScoreMin] ----------
  ; fn ?  line 22-24 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='diff_score_min'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('diff_score_min')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto2 [GetScoreMax] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='diff_score_max'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('diff_score_max')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetRewardPercentage] ----------
  ; fn ?  line 30-32 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='reward_num_percentage'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('reward_num_percentage')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [GetWeight] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='weight'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('weight')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [GetDurationInSeconds] ----------
  ; fn ?  line 41-43 np=1 va=0 ms=3 code=5 consts=1 upvals=1 protos=0
  ;   K[0]='time'
  ;   upvals: Minute
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('time')]
  0001  GETUPVAL  R2 = Minute
  0002  MUL       R1 = R2 mul R1
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto6 [GetMaxRewardScore] ----------
  ; fn ?  line 45-47 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='max_reward_score'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('max_reward_score')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [GetMinRewardNum] ----------
  ; fn ?  line 49-51 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='min_reward_num'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('min_reward_num')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [GetRewardType] ----------
  ; fn ?  line 53-55 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='reward_type'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('reward_type')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
