Exemple #1
0
 public void SetCanvasItem(BuildInfo Info, bool IsBattle = true)
 {
     m_bIsBattle = IsBattle;
     if (m_WareHouse.Count == 0)
     {
         m_WareHouse.Add(Info);
         buildType = Info.BuildType;
         level     = Info.Level;
         star      = Info.StarLevel;
         quality   = Info.Quality;
     }
     else
     {
         if (Info.EqualOf(buildType, level, star, quality) == true)
         {
             m_WareHouse.Add(Info);
         }
     }
     m_ShipBuildType = ShipBuildType.BuildRoom;
     SetUI();
 }
Exemple #2
0
 public bool Equalof(BuildInfo Info)
 {
     return(Info.EqualOf(buildType, level, star, quality));
 }