Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RuntimeVariables.cs
Go to the documentation of this file.
2
4
5internal sealed class RuntimeVariables : IRuntimeVariables
6{
7 private readonly IStrongBox[] _boxes;
8
9 int IRuntimeVariables.Count => _boxes.Length;
10
11 object IRuntimeVariables.this[int index]
12 {
13 get
14 {
15 return _boxes[index].Value;
16 }
17 set
18 {
20 }
21 }
22
24 {
25 _boxes = boxes;
26 }
27
28 internal static IRuntimeVariables Create(IStrongBox[] boxes)
29 {
30 return new RuntimeVariables(boxes);
31 }
32}
static IRuntimeVariables Create(IStrongBox[] boxes)