Closed Silentor closed 1 month ago
GdType sometype; if ( sometype.Is( ERoot.Mobs ) ) ... //For Categories
if ( sometype.Is( EMobs.Orcs, value: 5 ) ) ... //For values
Check for child category should automatically ensure parents category correctness: sometype.Is( EMobs.Orcs ) checks for ERoot.Mobs also
GdType sometype; if ( sometype.Is( ERoot.Mobs ) ) ... //For Categories
if ( sometype.Is( EMobs.Orcs, value: 5 ) ) ... //For values
Check for child category should automatically ensure parents category correctness: sometype.Is( EMobs.Orcs ) checks for ERoot.Mobs also