public string GetPath(SourceMod.PathType type, string format, int size) { IntPtr ptr = Marshal.AllocHGlobal(size); BuildPath(type, ptr, (uint)size, format); string ret = new string((sbyte *)ptr); Marshal.FreeHGlobal(ptr); return ret; }
public string GetPath(SourceMod.PathType type) { return GetPath(type, 1024); }
public string GetPath(SourceMod.PathType type, int size) { return GetPath(type, "", size); }