예제 #1
0
        public void RegisterFill(string name, Fill mapfill)
        {
            if (Mapfills.ContainsKey(name))
                Mapfills.Remove(name);

            Mapfills.Add(name, mapfill);
            ServerCore.Logger.Log("MapFill", "Fill registered: " + name, LogType.Info);
        }
예제 #2
0
 public void CreateFill(string name, string plugin)
 {
     var newFill = new Fill {Plugin = plugin, Run = null};
     RegisterFill(name, newFill);
 }