コード例 #1
0
 private void MergeJAW(Section_AHDR AHDR, Game game, Platform platform)
 {
     foreach (Asset a in assetDictionary.Values)
     {
         if (a is AssetJAW JAW)
         {
             JAW.Merge(new AssetJAW(AHDR, game, platform));
             return;
         }
     }
 }
コード例 #2
0
 private void MergeJAW(Section_AHDR AHDR)
 {
     foreach (Asset a in assetDictionary.Values)
     {
         if (a is AssetJAW JAW)
         {
             JAW.Merge(new AssetJAW(AHDR));
             return;
         }
     }
 }
コード例 #3
0
 private void MergeJAW(AssetJAW asset)
 {
     foreach (Asset a in assetDictionary.Values)
     {
         if (a is AssetJAW JAW)
         {
             JAW.Merge(asset);
             return;
         }
     }
 }
コード例 #4
0
        public void AddJawDataToJAW(byte[] jawData, uint assetID)
        {
            foreach (Asset a in assetDictionary.Values)
            {
                if (a is AssetJAW JAW)
                {
                    JAW.AddEntry(jawData, assetID);
                    return;
                }
            }

            throw new Exception("Unable to add jaw data: JAW asset not found");
        }