示例#1
0
        private List <Tuple <string, MyWorldInfo> > GetAvailableOfficialBattlesInfos()
        {
            MySandboxGame.Log.WriteLine("Loading official castle siege worlds - START");
            var result = new List <Tuple <string, MyWorldInfo> >();

            using (MySandboxGame.Log.IndentUsing(LoggingOptions.ALL))
            {
                MyLocalCache.GetWorldInfoFromDirectory(m_officialBattlesPath, result);
            }
            MySandboxGame.Log.WriteLine("Loading official castle siege worlds - END");
            return(result);
        }