# Model_Task_TaskStarter_208.luac
; fn @TaskStarter.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=8 upvals=1 protos=5
;   K[0]='TaskStarter'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='TaskStarter'
;   K[4]='_Init'
;   K[5]='GetTaskId'
;   K[6]='GetCondition'
;   K[7]='IsAllConditionSatisfied'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('TaskStarter')] = R0
0002  GETTABUP  R0 = _ENV[K0('TaskStarter')]
0003  GETTABUP  R1 = _ENV[K0('TaskStarter')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('TaskStarter')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('TaskStarter')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('TaskStarter')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetTaskId')] = R1
0014  GETTABUP  R0 = _ENV[K3('TaskStarter')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetCondition')] = R1
0017  GETTABUP  R0 = _ENV[K3('TaskStarter')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('IsAllConditionSatisfied')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 4-8 np=1 va=0 ms=5 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='TaskStarter'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: taskData(0-9), starter(4-9)
  0000  GETTABUP  R1 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R2 = {} (0 items)
  0002  GETTABUP  R3 = _ENV[K1('TaskStarter')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  SELF      R3 = R1[K2('_Init')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 10-17 np=2 va=0 ms=5 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='m_taskData'
  ;   K[1]='m_condition'
  ;   K[2]=nil
  ;   K[3]='StartConditions'
  ;   K[4]='TaskStartCondition'
  ;   K[5]='Create'
  ;   upvals: _ENV
  ;   locals: self(0-12), taskData(0-12)
  0000  SETTABLE  R0[K0('m_taskData')] = R1
  0001  SETTABLE  R0[K1('m_condition')] = K2(nil)
  0002  GETTABLE  R2 = R1[K3('StartConditions')]
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 11
  0005  GETTABUP  R2 = _ENV[K4('TaskStartCondition')]
  0006  GETTABLE  R2 = R2[K5('Create')]
  0007  MOVE      R3 = R0
  0008  GETTABLE  R4 = R1[K3('StartConditions')]
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  SETTABLE  R0[K1('m_condition')] = R2
  0011  RETURN    return R0..R-1
; ---------- proto2 [GetTaskId] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_taskData'
  ;   K[1]='Id'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_taskData')]
  0001  GETTABLE  R1 = R1[K1('Id')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto3 [GetCondition] ----------
  ; fn ?  line 23-25 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_condition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_condition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [IsAllConditionSatisfied] ----------
  ; fn ?  line 27-29 np=1 va=0 ms=3 code=11 consts=2 upvals=0 protos=0
  ;   K[0]='m_condition'
  ;   K[1]='IsSatisfied'
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_condition')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K0('m_condition')]
  0004  SELF      R2 = R1[K1('IsSatisfied')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
