How does rust know what you are hitting with this:
case 2306822461: return HitMaterial.Gravel;
case 1109271974: return HitMaterial.Riverbed;
case 3829453833: return HitMaterial.Grass;
case 3620698611: return HitMaterial.Grass;
case 3757806379: return HitMaterial.SnowGrass;
case 1533752200: return HitMaterial.Sand;
case 2551253961: return HitMaterial.Dirt;
What other materials are there I can add to the list? Im assuming by looking at the code, the player hits the ground with said tool and then returns a case number and this changes it to a 'HitMaterial.xxx'. I just cant find the available case numbers based on the different ground surfaces to be able to add the the list and enum for checking.
Would you help me out? This is turning into a learning exercise.