Alexandria.Engines.GoldBox.Resources.ScriptInstruction.ScriptInstruction C# (CSharp) Метод

ScriptInstruction() публичный Метод

public ScriptInstruction ( Script script, long offset, BinaryReader reader, ScriptOpcode opcode ) : System
script Script
offset long
reader System.IO.BinaryReader
opcode ScriptOpcode
Результат System
        public ScriptInstruction(Script script, long offset, BinaryReader reader, ScriptOpcode opcode)
            : this(script, offset, opcode)
        {
            string operands;

            if (!KnownOpcodes.TryGetValue(opcode, out operands))
                return;

            for (int index = 0; index < operands.Length; index++)
                if (!ReadOperand(reader, operands, ref index, (ScriptArgument)operands[index]))
                    break;
        }

Same methods

ScriptInstruction::ScriptInstruction ( Script script, long offset, ScriptOpcode opcode ) : System