예제 #1
0
        private static string GetDataDirectoryName(GameVersion gameVersion)
        {
            var directory = gameVersion.GetAttributeValue <DataDirectoryAttribute, string>(o => o.Directory);

            if (string.IsNullOrEmpty(directory))
            {
                directory = ((int)gameVersion).ToString("0000");
            }

            return(directory);
        }