I have been trying to find out a way to check a grid to see if it has been physically changed ie if a new block has been added or one has been deleted.
Currently I am simply fetching all the terminal blocks and counting them to see if they match an earlier count. This kind of works but if for instance someone deleted a door then replaced it was a beacon, it wouldn't detect a change as the totals would still be the same.
I am wonder would GetHashCode work for this or would the hash also...
How Does CubeGrid.GetHashCode Work?
Currently I am simply fetching all the terminal blocks and counting them to see if they match an earlier count. This kind of works but if for instance someone deleted a door then replaced it was a beacon, it wouldn't detect a change as the totals would still be the same.
I am wonder would GetHashCode work for this or would the hash also...
How Does CubeGrid.GetHashCode Work?