Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = WorldId.GetHashCode();
         hashCode = (hashCode * 397) ^ ChunkId.GetHashCode();
         hashCode = (hashCode * 397) ^ VoxelId.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = ChunkId.GetHashCode();
         hashCode = (hashCode * 397) ^ DataLength;
         hashCode = (hashCode * 397) ^ HasSubChunks.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     return(ChunkId.GetHashCode());
 }