Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static List<ServerConstants.TALENTS> GetRange( int start, int end )
- {
- List<ServerConstants.TALENTS> ret = new List<ServerConstants.TALENTS>();
- foreach ( ServerConstants.TALENTS en in Enum.GetValues( typeof( ServerConstants.TALENTS ) ) )
- {
- if ( (int)en >= start && (int)en <= end )
- {
- ret.Add( en );
- }
- }
- return ret;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement