# SurpriseChest_Model_SurpriseChestTriggerData_771.luac
; fn @SurpriseChestTriggerData.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=10 upvals=1 protos=7
;   K[0]='SurpriseChestTriggerData'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='SurpriseChestTriggerData'
;   K[4]='_Init'
;   K[5]='GetTriggerType'
;   K[6]='GetDuration'
;   K[7]='CanTrigger'
;   K[8]='Trigger'
;   K[9]='GetExtraInfo'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('SurpriseChestTriggerData')] = R0
0002  GETTABUP  R0 = _ENV[K0('SurpriseChestTriggerData')]
0003  GETTABUP  R1 = _ENV[K0('SurpriseChestTriggerData')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('SurpriseChestTriggerData')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetTriggerType')] = R1
0014  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetDuration')] = R1
0017  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('CanTrigger')] = R1
0020  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('Trigger')] = R1
0023  GETTABUP  R0 = _ENV[K3('SurpriseChestTriggerData')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('GetExtraInfo')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 15-20 np=5 va=0 ms=13 code=13 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='SurpriseChestTriggerData'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: triggerType(0-13), duration(0-13), funcCanTrigger(0-13), funcTrigger(0-13), extraInfo(0-13), triggerData(4-13)
  0000  GETTABUP  R5 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R6 = {} (0 items)
  0002  GETTABUP  R7 = _ENV[K1('SurpriseChestTriggerData')]
  0003  CALL      R5 = call(R5, 1 args, 2 rets)
  0004  SELF      R7 = R5[K2('_Init')] (self)
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  MOVE      R10 = R0
  0008  MOVE      R11 = R0
  0009  MOVE      R12 = R0
  0010  CALL      R6 = call(R6, 0 args, 6 rets)
  0011  RETURN    return R5..R4
  0012  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 27-33 np=6 va=0 ms=6 code=6 consts=5 upvals=0 protos=0
  ;   K[0]='m_triggerType'
  ;   K[1]='m_duration'
  ;   K[2]='m_funcCanTrigger'
  ;   K[3]='m_funcTrigger'
  ;   K[4]='m_extraInfo'
  ;   locals: self(0-6), triggerType(0-6), duration(0-6), funcCanTrigger(0-6), funcTrigger(0-6), extraInfo(0-6)
  0000  SETTABLE  R0[K0('m_triggerType')] = R1
  0001  SETTABLE  R0[K1('m_duration')] = R2
  0002  SETTABLE  R0[K2('m_funcCanTrigger')] = R3
  0003  SETTABLE  R0[K3('m_funcTrigger')] = R4
  0004  SETTABLE  R0[K4('m_extraInfo')] = R5
  0005  RETURN    return R0..R-1
; ---------- proto2 [GetTriggerType] ----------
  ; fn ?  line 36-38 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_triggerType'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_triggerType')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetDuration] ----------
  ; fn ?  line 41-43 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_duration'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_duration')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [CanTrigger] ----------
  ; fn ?  line 46-48 np=1 va=0 ms=3 code=9 consts=2 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_funcCanTrigger'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R2 = R0[K1('m_funcCanTrigger')]
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  GETTABLE  R1 = R0[K1('m_funcCanTrigger')]
  0006  CALL      R1 = call(R1, 1 args, 0 rets)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto5 [Trigger] ----------
  ; fn ?  line 51-55 np=1 va=0 ms=3 code=8 consts=2 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_funcTrigger'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R2 = R0[K1('m_funcTrigger')]
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  GETTABLE  R1 = R0[K1('m_funcTrigger')]
  0006  CALL      R1 = call(R1, 0 args, 0 rets)
  0007  RETURN    return R0..R-1
; ---------- proto6 [GetExtraInfo] ----------
  ; fn ?  line 58-60 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_extraInfo'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_extraInfo')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
