Annotation of /trunk/References/EnvironmentSettings.cs
Parent Directory
|
Revision Log
Revision 99 - (view) (download)
| 1 : | albert | 87 | using System; |
| 2 : | using System.Collections.Generic; | ||
| 3 : | using System.Linq; | ||
| 4 : | using System.Text; | ||
| 5 : | albert | 89 | using System.IO; |
| 6 : | albert | 87 | |
| 7 : | namespace Xenki.References | ||
| 8 : | { | ||
| 9 : | public class EnvironmentSettings | ||
| 10 : | { | ||
| 11 : | albert | 89 | public static string TextureTempFolder |
| 12 : | { | ||
| 13 : | get | ||
| 14 : | { | ||
| 15 : | string t = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "Xenki_Texture"); | ||
| 16 : | if (Directory.Exists(t) == false) | ||
| 17 : | Directory.CreateDirectory(t); | ||
| 18 : | return t; | ||
| 19 : | } | ||
| 20 : | } | ||
| 21 : | public static string TextureCacheFolder | ||
| 22 : | { | ||
| 23 : | get | ||
| 24 : | { | ||
| 25 : | string t = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "Xenki_Texture_Cache"); | ||
| 26 : | if (Directory.Exists(t) == false) | ||
| 27 : | Directory.CreateDirectory(t); | ||
| 28 : | return t; | ||
| 29 : | } | ||
| 30 : | } | ||
| 31 : | albert | 87 | |
| 32 : | albert | 90 | public static int EnvirementCircleLength = 300; |
| 33 : | public static int MessageDisapearTimespan = 5;//seconds | ||
| 34 : | albert | 99 | public const int DownloadTextureThreadNumber = 6; |
| 35 : | albert | 91 | |
| 36 : | albert | 87 | } |
| 37 : | } |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

