public static RabNetEngBuilding FromPlace(string place, RabNetEngine eng) { RabPlace rp = RabPlace.Parse(place); int[] tiers = eng.db().getTiers(rp.Farm); return(new RabNetEngBuilding(tiers[rp.Floor == 2 ? 1 : 0], eng)); }
public RabNetEngRabbit(RabNetEngine dl, Rabbit.SexType sx) { _id = 0; _eng = dl; _sex = sx; _youngers = new YoungRabbitList(); }
public static RabNetEngine get() { if (eng == null) { eng = new RabNetEngine(); } return(eng); }
public Options(RabNetEngine eng) { this.eng = eng; }
public static void log(RabNetEngine eng, LogType type) { log(eng, type, 0, 0, "", "", ""); }
public static void log(RabNetEngine eng, LogType type, int r1, int r2, string a1, string a2, String text) { eng.db().RabNetLog((int)type, eng.UserID, r1, r2, a1.Trim(), a2.Trim(), text); }
public RabNetLogs(RabNetEngine eng) { this.eng = eng; }
public static void set(RabNetEngine e) { eng = e; }
public RabEngZooTeh(RabNetEngine eng) { this.eng = eng; }
public RabNetEngBuilding(int tierId, RabNetEngine eng) { this.id = tierId; this._eng = eng; b = eng.db().getBuilding(id); }
/// <summary> /// Нужно для логирования при Клонировании /// </summary> //internal string CloneAddress=""; public RabNetEngRabbit(int rid, RabNetEngine dl) { _id = rid; _eng = dl; loadData(); }