Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RefreshPropertiesAttribute.cs
Go to the documentation of this file.
2
4
5[AttributeUsage(AttributeTargets.All)]
7{
9
11
13
15
17 {
18 RefreshProperties = refresh;
19 }
20
21 public override bool Equals([NotNullWhen(true)] object? obj)
22 {
23 if (obj is RefreshPropertiesAttribute refreshPropertiesAttribute)
24 {
25 return refreshPropertiesAttribute.RefreshProperties == RefreshProperties;
26 }
27 return false;
28 }
29
30 public override int GetHashCode()
31 {
32 return base.GetHashCode();
33 }
34
35 public override bool IsDefaultAttribute()
36 {
37 return Equals(Default);
38 }
39}
static readonly RefreshPropertiesAttribute Default
static readonly RefreshPropertiesAttribute Repaint
static readonly RefreshPropertiesAttribute All
override bool Equals([NotNullWhen(true)] object? obj)