Ignore:
Timestamp:
Sep 3, 2018, 7:11:10 PM (6 years ago)
Author:
alloc
Message:

A17 compatibility changes

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;
     1namespace AllocsFixes.FileCache {
     2    public abstract class AbstractCache {
     3        public AbstractCache () {
     4        }
    35
    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    }
    168}
    17 
  • binary-improvements/7dtd-server-fixes/src/FileCache/MapTileCache.cs

    r269 r324  
    11using System;
    2 using System.Collections.Generic;
    32using System.IO;
     3using UnityEngine;
    44
    55namespace AllocsFixes.FileCache
     
    2121                public MapTileCache (int _tileSize)
    2222                {
    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);
    2525                        for (int x = 0; x < _tileSize; x++) {
    2626                                for (int y = 0; y < _tileSize; y++) {
Note: See TracChangeset for help on using the changeset viewer.