Beispiel #1
0
        public int NewRabbit(OneRabbit r, int mom)
        {
            int rId = RabbitGetter.newRabbit(sql, r, mom);

#if !DEMO
            Import.RabbitImp(sql, rId, r.Group);
#endif
            return(rId);
        }
Beispiel #2
0
        public int NewRabbit(OneRabbit r, int mom, int clientId, string fileGuid)
        {
            int oldId = r.ID;
            int rId   = RabbitGetter.newRabbit(sql, r, mom);

            Import.RabbitImp(sql, rId, r.Group, clientId, oldId, fileGuid);
            if (Import.AscendantExists(sql, oldId, clientId))
            {
                Import.AdaptExportedAscendant(sql, oldId, clientId, rId, r.Sex);
            }
            return(rId);
        }
Beispiel #3
0
 public void ImportRabbit(int rId, int count, int clientId, int oldRID, string fileGuid)
 {
     Import.RabbitImp(sql, rId, count, clientId, oldRID, fileGuid);
 }
Beispiel #4
0
 public void ImportRabbit(int rId, int count)
 {
     Import.RabbitImp(sql, rId, count);
 }