public AssembleShipInfo GetAssembleShipInfo(ushort UID) { AssembleShipInfo info = null; _assembleShipDesignDataDic.TryGetValue(UID, out info); return(info); }
public void AddAssembleShipDesign(AssembleShipInfo info) { ushort guid = getShipUnUsedInstanceID(); info.UID = guid; _assembleShipDesignDataDic.Add(guid, info); }
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); }