Exemple #1
0
 /// <summary>
 /// 设置防御方建筑物数据
 /// </summary>
 public static void SetDefenseBuild(List <ShipPutInfo> lbuildInfo)
 {
     m_DefenseBuild.Clear();
     if (lbuildInfo == null || lbuildInfo.Count == 0)
     {
         return;
     }
     foreach (ShipPutInfo Info in lbuildInfo)
     {
         ShipBuildData.SaveShipBuildData(Info, ref m_DefenseBuild);
     }
 }
Exemple #2
0
 /// <summary>
 /// 设置防御方建筑物数据
 /// </summary>
 private static void SetDefenseBuild(List <battle.ShipBuildInfo> shipBuildInfo)
 {
     m_DefenseBuild.Clear();
     if (shipBuildInfo == null || shipBuildInfo.Count == 0)
     {
         return;
     }
     foreach (battle.ShipBuildInfo ShipBuild in shipBuildInfo)
     {
         ShipBuildData.SaveShipBuildData(ShipBuild, ref m_DefenseBuild);
     }
 }