Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
StreamingContext.cs
Go to the documentation of this file.
2
4
5public readonly struct StreamingContext
6{
7 private readonly object _additionalContext;
8
9 private readonly StreamingContextStates _state;
10
12
13 public object? Context => _additionalContext;
14
19
25
26 public override bool Equals([NotNullWhen(true)] object? obj)
27 {
29 {
30 return false;
31 }
32 if (streamingContext._additionalContext == _additionalContext)
33 {
35 }
36 return false;
37 }
38
39 public override int GetHashCode()
40 {
41 return (int)_state;
42 }
43}
override bool Equals([NotNullWhen(true)] object? obj)
StreamingContext(StreamingContextStates state)
StreamingContext(StreamingContextStates state, object? additional)
readonly StreamingContextStates _state