static public BotEngine.EveOnline.Interface.MemoryStruct.InfoPanelLocationInfo AsOld( this Sanderling.Interface.MemoryStruct.IInfoPanelSystem infoPanelSystem) { if (infoPanelSystem == null) { return(null); } return(new BotEngine.EveOnline.Interface.MemoryStruct.InfoPanelLocationInfo(infoPanelSystem.AsOldInfoPanel()) { ButtonListSurroundings = infoPanelSystem?.ListSurroundingsButton?.AsOldUIElement(), }); }
static public IInfoPanelSystem Parse(this MemoryStruct.IInfoPanelSystem raw) => null == raw ? null : new InfoPanelSystem(raw);
public InfoPanelSystem(MemoryStruct.IInfoPanelSystem raw) { this.raw = raw; SecurityLevelMilli = raw?.HeaderText?.SecurityLevelMilliFromInfoPanelSystemHeaderText(); }