ChunkReference Struct
Namespace: Stride.Core.Serialization.Contents
Assembly: Stride.Core.Serialization.dll
Describe a reference between an object and another.
[DataSerializer(typeof(ChunkReference.Serializer))]
public struct ChunkReference : IEquatable<ChunkReference>
|
Improve this Doc
View Source
Constructors
ChunkReference(Type, String)
public ChunkReference(Type objectType, string location)
Parameters
Type |
Name |
Description |
System.Type |
objectType |
|
System.String |
location |
|
|
Improve this Doc
View Source
Fields
Location
public readonly string Location
Field Value
Type |
Description |
System.String |
|
NullIdentifier
public const int NullIdentifier = -1
Field Value
Type |
Description |
System.Int32 |
|
ObjectType
public readonly Type ObjectType
Field Value
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
Methods
Equals(ChunkReference)
public bool Equals(ChunkReference other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Operators
Equality(ChunkReference, ChunkReference)
public static bool operator ==(ChunkReference left, ChunkReference right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ChunkReference, ChunkReference)
public static bool operator !=(ChunkReference left, ChunkReference right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
System.ValueType.ToString()
Extension Methods