Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
EditAndContinueLogEntry.cs
Go to the documentation of this file.
2
4
5public readonly struct EditAndContinueLogEntry : IEquatable<EditAndContinueLogEntry>
6{
7 public EntityHandle Handle { get; }
8
9 public EditAndContinueOperation Operation { get; }
10
12 {
13 Handle = handle;
14 Operation = operation;
15 }
16
17 public override bool Equals([NotNullWhen(true)] object? obj)
18 {
20 {
21 return Equals(other);
22 }
23 return false;
24 }
25
27 {
28 if (Operation == other.Operation)
29 {
30 return Handle == other.Handle;
31 }
32 return false;
33 }
34
35 public override int GetHashCode()
36 {
37 return (int)Operation ^ Handle.GetHashCode();
38 }
39}
override bool Equals([NotNullWhen(true)] object? obj)
EditAndContinueLogEntry(EntityHandle handle, EditAndContinueOperation operation)
Handle(byte vType, int value)
Definition Handle.cs:57