2016-01-27 22:04:37 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Test
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2016-01-28 07:33:36 +00:00
|
|
|
|
PhysFS.PhysFS.InitializeCallbacks();
|
2016-01-27 22:04:37 +00:00
|
|
|
|
PhysFS.PhysFS.Init("");
|
2016-01-28 07:33:36 +00:00
|
|
|
|
var ver = PhysFS.PhysFS.GetLinkedVersion();
|
|
|
|
|
Console.WriteLine("{0}.{1}.{2}", ver.major, ver.minor, ver.patch);
|
2016-01-27 22:04:37 +00:00
|
|
|
|
PhysFS.PhysFS.Mount("D:\\", "/", true);
|
|
|
|
|
var x = PhysFS.PhysFS.EnumerateFiles("/");
|
|
|
|
|
PhysFS.PhysFS.Deinit();
|
2016-01-28 07:33:36 +00:00
|
|
|
|
Console.ReadLine();
|
2016-01-27 22:04:37 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|