Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EventSourceOptions.cs
Go to the documentation of this file.
2
3public struct EventSourceOptions
4{
6
7 internal EventTags tags;
8
10
11 internal byte level;
12
13 internal byte opcode;
14
15 internal byte valuesSet;
16
18 {
19 get
20 {
21 return (EventLevel)level;
22 }
23 set
24 {
25 level = checked((byte)value);
26 valuesSet |= 4;
27 }
28 }
29
31 {
32 get
33 {
34 return (EventOpcode)opcode;
35 }
36 set
37 {
38 opcode = checked((byte)value);
39 valuesSet |= 8;
40 }
41 }
42
43 internal bool IsOpcodeSet => (valuesSet & 8) != 0;
44
46 {
47 get
48 {
49 return keywords;
50 }
51 set
52 {
54 valuesSet |= 1;
55 }
56 }
57
59 {
60 get
61 {
62 return tags;
63 }
64 set
65 {
66 tags = value;
67 valuesSet |= 2;
68 }
69 }
70
72 {
73 get
74 {
75 return activityOptions;
76 }
77 set
78 {
80 valuesSet |= 16;
81 }
82 }
83}