Example #1
0
        private void showLoadedS3SAs_Click(object sender, EventArgs e)
        {
            ResourceKey[] s3sas = ResourceMgr.GetKeyList(0, 0x73faa07, 0);
            StringBuilder builder = new StringBuilder();
            int           i, length = s3sas.Length;
            ContentType   source;

            for (i = 0; i < length; i++)
            {
                source = ContentManager.GetContentSource(s3sas[i]);
                builder.AppendLine(string.Concat(s3sas[i].ToString(), " | ", source.ToString()));
                builder.AppendLine(string.Concat("DB: ", ResourceMgr.GetDBLocationForKey(s3sas[i])));
                //This just returns a hex string of the resource's instance ID
                //builder.AppendLine(string.Concat("File: ", ResourceMgr.GetFilenameForKey(s3sas[i])));
                builder.AppendLine();
            }
            MessageBox.Show(builder.ToString(), "Loaded S3SAs");
        }