Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DupInstruction.cs
Go to the documentation of this file.
1
namespace
System.Linq.Expressions.Interpreter
;
2
3
internal
sealed
class
DupInstruction
:
Instruction
4
{
5
internal
static
readonly
DupInstruction
Instance
=
new
DupInstruction
();
6
7
public
override
int
ProducedStack
=> 1;
8
9
public
override
string
InstructionName
=>
"Dup"
;
10
11
private
DupInstruction
()
12
{
13
}
14
15
public
override
int
Run
(
InterpretedFrame
frame)
16
{
17
frame.
Dup
();
18
return
1;
19
}
20
}
System.Linq.Expressions.Interpreter.DupInstruction.Instance
static readonly DupInstruction Instance
Definition
DupInstruction.cs:5
System.Linq.Expressions.Interpreter.DupInstruction.ProducedStack
override int ProducedStack
Definition
DupInstruction.cs:7
System.Linq.Expressions.Interpreter.DupInstruction.DupInstruction
DupInstruction()
Definition
DupInstruction.cs:11
System.Linq.Expressions.Interpreter.DupInstruction.Run
override int Run(InterpretedFrame frame)
Definition
DupInstruction.cs:15
System.Linq.Expressions.Interpreter.DupInstruction.InstructionName
override string InstructionName
Definition
DupInstruction.cs:9
System.Linq.Expressions.Interpreter.DupInstruction
Definition
DupInstruction.cs:4
System.Linq.Expressions.Interpreter.Instruction
Definition
Instruction.cs:6
System.Linq.Expressions.Interpreter.InterpretedFrame.Dup
void Dup()
Definition
InterpretedFrame.cs:105
System.Linq.Expressions.Interpreter.InterpretedFrame
Definition
InterpretedFrame.cs:7
System.Linq.Expressions.Interpreter
Definition
ActionCallInstruction.cs:3
source
System.Linq.Expressions
System.Linq.Expressions.Interpreter
DupInstruction.cs
Generated by
1.10.0