| System/KnapSack/New/BagWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/KnapSack/New/DepotWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/KnapSack/New/TempKnapSackBasic.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/KnapSack/New/BagWin.cs
@@ -191,9 +191,9 @@ #region 共用部分 public override void OnCreateGridLineCell(ScrollerController gridCtrl) public void OnCreateGridLineCell(ScrollerController gridCtrl) { base.OnCreateGridLineCell(gridCtrl); base.OnCreateGridLineCell(gridCtrl, GeneralDefine.maxBagGridCount / lineGird); } System/KnapSack/New/DepotWin.cs
@@ -127,9 +127,9 @@ #region 共用部分 public override void OnCreateGridLineCell(ScrollerController gridCtrl) public void OnCreateGridLineCell(ScrollerController gridCtrl) { base.OnCreateGridLineCell(gridCtrl); base.OnCreateGridLineCell(gridCtrl, GeneralDefine.maxDepotGridCount / lineGird); } public void OnRefreshGridCell(ScrollerDataType type, CellView cell) System/KnapSack/New/TempKnapSackBasic.cs
@@ -17,6 +17,7 @@ public class TempKnapSackBasic : Window { PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } } public int lineGird = 5; //每行格子数 protected override void BindController() { @@ -50,7 +51,7 @@ #region 背包空格的逻辑 public virtual void OnCreateGridLineCell(ScrollerController gridCtrl) public virtual void OnCreateGridLineCell(ScrollerController gridCtrl, int line) { if (gridCtrl.GetNumberOfCells(gridCtrl.m_Scorller) > 0) { @@ -60,8 +61,7 @@ { gridCtrl.Refresh(); int code = 0; for (code = 0; code < 20; code++) for (int code = 0; code < line; code++) { gridCtrl.AddCell(ScrollerDataType.Header, code);