Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
StringSequence1.cs
Go to the documentation of this file.
2
4
5internal struct StringSequence1 : IEquatable<StringSequence1>, IStringSequence
6{
7 public string Value1;
8
9 public StringSequence1(string value1)
10 {
11 Value1 = value1;
12 }
13
14 public override int GetHashCode()
15 {
16 return Value1.GetHashCode();
17 }
18
20 {
21 return Value1 == other.Value1;
22 }
23
24 public override bool Equals(object obj)
25 {
27 {
28 return Equals(other);
29 }
30 return false;
31 }
32
34 {
35 return MemoryMarshal.CreateSpan(ref Value1, 1);
36 }
37}