Changeset 324 for binary-improvements/7dtd-server-fixes/src/FileCache
- Timestamp:
- Sep 3, 2018, 7:11:10 PM (6 years ago)
- Location:
- binary-improvements/7dtd-server-fixes/src/FileCache
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/FileCache/AbstractCache.cs
r199 r324 1 using System; 2 using System.Collections.Generic; 1 namespace AllocsFixes.FileCache { 2 public abstract class AbstractCache { 3 public AbstractCache () { 4 } 3 5 4 namespace AllocsFixes.FileCache 5 { 6 public abstract class AbstractCache 7 { 8 9 public AbstractCache () 10 { 11 } 12 13 public abstract byte[] GetFileContent (string filename); 14 15 } 6 public abstract byte[] GetFileContent (string filename); 7 } 16 8 } 17 -
binary-improvements/7dtd-server-fixes/src/FileCache/MapTileCache.cs
r269 r324 1 1 using System; 2 using System.Collections.Generic;3 2 using System.IO; 3 using UnityEngine; 4 4 5 5 namespace AllocsFixes.FileCache … … 21 21 public MapTileCache (int _tileSize) 22 22 { 23 UnityEngine.Texture2D tex = new UnityEngine.Texture2D (_tileSize, _tileSize);24 UnityEngine.Color nullColor = new UnityEngine.Color (0, 0, 0, 0);23 Texture2D tex = new Texture2D (_tileSize, _tileSize); 24 Color nullColor = new Color (0, 0, 0, 0); 25 25 for (int x = 0; x < _tileSize; x++) { 26 26 for (int y = 0; y < _tileSize; y++) {
Note:
See TracChangeset
for help on using the changeset viewer.