Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: acronyte on September 04, 2017, 07:12:40 AM

Title: How to check if file exists on server?
Post by: acronyte on September 04, 2017, 07:12:40 AM
How would I got about checking if a file exists on tnet's server? I know I can do this through unity itself, but is there a tnet call or something that can do this?
Title: Re: How to check if file exists on server?
Post by: devomage on September 04, 2017, 05:19:50 PM
I would create a custom packet to ensure a desired result. 

TNManager.LoadFile might be an alternative.
Title: Re: How to check if file exists on server?
Post by: ArenMook on September 06, 2017, 12:56:22 AM
You can LoadFile on it, and if the result comes back as empty, then the file doesn't exist.