コード例 #1
0
        public override void Open(Uri connectionPath)
        {
            if (connectionPath.IsFile)
            {
                if (File.Exists(connectionPath.LocalPath))
                {
                    string jsonDataString = File.ReadAllText(connectionPath.LocalPath);

                    Treasuremap treasuremap = JsonConvert.DeserializeObject <Treasuremap>(jsonDataString);

                    _tressureMapTable = new ProPluginTreasuremapTable(treasuremap);
                }
            }
        }
コード例 #2
0
 public override void Close()
 {
     // Clear the data
     _tressureMapTable = null;
 }