Esempio n. 1
0
        /// <summary>
        /// Get the attributes of the given high slot
        /// </summary>
        /// <param name="num">The number of the high slot as fitted to the ship</param>
        /// <returns>A list of attributes or null on failure</returns>
        public List <string> getHighSlotAttributes(int num)
        {
            StringGroupResponse sgresp = (StringGroupResponse)com.sendCall(FunctionCallFactory.CALLS.GETHIGHSLOTATTRIBUTES, num + "", Response.RESPONSES.STRINGGROUPRESPONSE);

            if (sgresp == null)
            {
                return(null);
            }

            return((List <string>)sgresp.Data);
        }
Esempio n. 2
0
        /// <summary>
        /// Get the last 15 entries in local chat for the given solarsystemid
        /// </summary>
        /// <param name="ssid">The solar system id to retrieve the local chat from</param>
        /// <returns>The list of entries on success, null on failure</returns>
        public List <String> readLocal(int ssid)
        {
            StringGroupResponse sresp = (StringGroupResponse)com.sendCall(FunctionCallFactory.CALLS.GETLOCALCHATTEXT, ssid.ToString(), Response.RESPONSES.STRINGGROUPRESPONSE);

            if (sresp == null)
            {
                return(null);
            }

            return((List <String>)sresp.Data);
        }