Ejemplo n.º 1
0
        public AssembleShipInfo GetAssembleShipInfo(ushort UID)
        {
            AssembleShipInfo info = null;

            _assembleShipDesignDataDic.TryGetValue(UID, out info);
            return(info);
        }
Ejemplo n.º 2
0
        public void AddAssembleShipDesign(AssembleShipInfo info)
        {
            ushort guid = getShipUnUsedInstanceID();

            info.UID = guid;
            _assembleShipDesignDataDic.Add(guid, info);
        }
Ejemplo n.º 3
0
 public void ShowAssembleShipDesignPage(AssembleShipInfo info)
 {
     UIManager.Instance.Register <UI.AssembleShipDesignPageContext>(UIPath.WindowPath.Assemble_Ship_Design_Page);
     UIManager.Instance.CloseAllPage();
     UIManager.Instance.HideWnd(UIPath.WindowPath.PlayerState_Panel);
     UIManager.Instance.PopUpWnd(UIPath.WindowPath.Assemble_Ship_Design_Page, WindowType.Page, true, info);
 }