Since this is the parameter of a packet, it should be inside the Send.Skill file (outside of the partial Send class), named something like GatheringFailResult. It should then be used as a parameter for the fail method, so we can ignore any casting and stuff outside of it and you get a list of possible values through the enum.