Пример #1
0
 internal static void Write(int version, BinaryWriter bw, AWARD_RATIO_SCALE m_AwByRatio)
 {
     bw.Write(m_AwByRatio.m_ulScales);
     for (int index2 = 0; index2 < m_AwByRatio.m_Ratios.Length; index2++)
     {
         bw.Write(m_AwByRatio.m_Ratios[index2]);
     }
     for (int index2 = 0; index2 < m_AwByRatio.m_Awards.Length; index2++)
     {
         AWARD_DATA.Write(version, bw, m_AwByRatio.m_Awards[index2]);
     }
 }
Пример #2
0
 internal static void Write(int version, BinaryWriter bw, AWARD_ITEMS_SCALE m_AwByItems)
 {
     bw.Write(m_AwByItems.m_ulScales);
     bw.Write(m_AwByItems.m_ulItemId);
     for (int index2 = 0; index2 < m_AwByItems.m_Counts.Length; index2++)
     {
         bw.Write(m_AwByItems.m_Counts[index2]);
     }
     for (int index2 = 0; index2 < m_AwByItems.m_Awards.Length; index2++)
     {
         AWARD_DATA.Write(version, bw, m_AwByItems.m_Awards[index2]);
     }
 }