Struct EntryReference
- Namespace
- Aarthificial.Typewriter.References
- Assembly
- Aarthificial.Typewriter.dll
[Serializable]
public struct EntryReference : IEquatable<EntryReference>
- Implements
-
- Inherited Members
-
Properties
HasValue
public bool HasValue { get; }
Property Value
- bool
ID
Property Value
- int
Methods
Equals(EntryReference)
public bool Equals(EntryReference other)
Parameters
other
EntryReference
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
- bool
GetEntry()
public readonly BaseEntry GetEntry()
Returns
- BaseEntry
GetEntry<T>()
public readonly T GetEntry<T>() where T : BaseEntry
Returns
- T
Type Parameters
T
GetHashCode()
public override int GetHashCode()
Returns
- int
TryGetEntry(out BaseEntry)
public readonly bool TryGetEntry(out BaseEntry entry)
Parameters
entry
BaseEntry
Returns
- bool
TryGetEntry<T>(out T)
public readonly bool TryGetEntry<T>(out T entry) where T : BaseEntry
Parameters
entry
T
Returns
- bool
Type Parameters
T
Operators
operator ==(EntryReference, EntryReference)
public static bool operator ==(EntryReference lhs, EntryReference rhs)
Parameters
lhs
EntryReference
rhs
EntryReference
Returns
- bool
explicit operator EntryReference(BaseEntry)
public static explicit operator EntryReference(BaseEntry entry)
Parameters
entry
BaseEntry
Returns
- EntryReference
explicit operator BaseEntry(EntryReference)
public static explicit operator BaseEntry(EntryReference reference)
Parameters
reference
EntryReference
Returns
- BaseEntry
implicit operator int(EntryReference)
public static implicit operator int(EntryReference reference)
Parameters
reference
EntryReference
Returns
- int
implicit operator EntryReference(int)
public static implicit operator EntryReference(int id)
Parameters
id
int
Returns
- EntryReference
operator !=(EntryReference, EntryReference)
public static bool operator !=(EntryReference lhs, EntryReference rhs)
Parameters
lhs
EntryReference
rhs
EntryReference
Returns
- bool