コード例 #1
0
        // UpValue[A][RK(B)] := RK(C)
        internal static void setTabUp(Instruction i, ref LuaVM vm)
        {
            var(a, b, c) = i.ABC();
            a           += 1;

            vm.GetRK(b);
            vm.GetRK(c);
            vm.SetTable(LuaVM.LuaUpvalueIndex(a));
        }
コード例 #2
0
ファイル: InstTable.cs プロジェクト: 583004700/IdeaProjects
        internal static void SetTable(Instruction i, ref LuaVM vm)
        {
            var(a, b, c) = i.ABC();
            a           += 1;

            vm.GetRK(b);
            vm.GetRK(c);
            vm.SetTable(a);
        }
コード例 #3
0
ファイル: InstTable.cs プロジェクト: 583004700/IdeaProjects
        internal static void setTable(Instruction i, ref LuaVM vm)
        {
            var abc = i.ABC();
            var a   = abc.Item1;
            var b   = abc.Item2;
            var c   = abc.Item3;

            a += 1;

            vm.GetRK(b);
            vm.GetRK(c);
            vm.SetTable(a);
        }