コード例 #1
0
ファイル: Version.cs プロジェクト: progrocket/Slipe-Core
        /// <summary>
        /// Create a new version object
        /// </summary>
        public SystemVersion()
        {
            Dictionary <string, string> dictionary = MtaShared.GetDictionaryFromTable(MtaShared.GetVersion(), "System.String", "System.String");

            Number   = Int32.Parse(dictionary["number"]);
            Mta      = dictionary["mta"];
            Name     = dictionary["name"];
            Netcode  = dictionary["netcode"];
            Os       = dictionary["os"];
            Type     = dictionary["type"];
            Tag      = dictionary["tag"];
            Sortable = dictionary["sortable"];
        }