예제 #1
0
        public static PlayerKillOpponentEntity GetOpponentByName(string name, int configByTimes)
        {
            var provider = new PlayerkillInfoProvider();

            return(provider.GetOpponentByName(name, configByTimes));
        }
예제 #2
0
        public static bool Insert(PlayerkillInfoEntity playerkillInfoEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new PlayerkillInfoProvider(zoneId);

            return(provider.Insert(playerkillInfoEntity, trans));
        }
예제 #3
0
        public static List <PlayerKillOpponentEntity> GetOpponents(int minKpi, int maxKpi, int configByTimes)
        {
            var provider = new PlayerkillInfoProvider();

            return(provider.GetOpponents(minKpi, maxKpi, configByTimes));
        }
예제 #4
0
        public static bool LotterySave(System.Guid matchId, System.Guid managerId, System.Int32 lotteryRepeatCode, ref System.Int32 returnCode, DbTransaction trans = null, string zoneId = "")
        {
            PlayerkillInfoProvider provider = new PlayerkillInfoProvider(zoneId);

            return(provider.LotterySave(matchId, managerId, lotteryRepeatCode, ref returnCode, trans));
        }
예제 #5
0
        public static bool GetMatchTimes(System.Guid managerId, ref System.Int32 matchCount, DbTransaction trans = null, string zoneId = "")
        {
            PlayerkillInfoProvider provider = new PlayerkillInfoProvider(zoneId);

            return(provider.GetMatchTimes(managerId, ref matchCount, trans));
        }
예제 #6
0
        public static bool SaveFightResult(System.Guid managerId, System.String logo, System.Guid awayId, System.Guid lotteryMatchId, System.Int32 win, System.Int32 lose, System.Int32 draw, System.DateTime curTime, System.Guid matchId, System.String homeName, System.String awayName, System.Int32 homeScore, System.Int32 awayScore, System.Int32 prizeExp, System.Int32 prizeCoin, System.Int32 prizeItemCode, System.String prizeItemString, System.Boolean isRevenge, System.Int64 revengeRecordId, System.Int32 prizeItemCount, ref System.Int64 outRevengeRecordId, DbTransaction trans = null, string zoneId = "")
        {
            PlayerkillInfoProvider provider = new PlayerkillInfoProvider(zoneId);

            return(provider.SaveFightResult(managerId, logo, awayId, lotteryMatchId, win, lose, draw, curTime, matchId, homeName, awayName, homeScore, awayScore, prizeExp, prizeCoin, prizeItemCode, prizeItemString, isRevenge, revengeRecordId, prizeItemCount, ref outRevengeRecordId, trans));
        }
예제 #7
0
        public static bool Delete(System.Guid managerId, DbTransaction trans = null, string zoneId = "")
        {
            PlayerkillInfoProvider provider = new PlayerkillInfoProvider(zoneId);

            return(provider.Delete(managerId, trans));
        }
예제 #8
0
        public static bool ResetByTimes(System.Int32 configTimes, System.Int32 configByTimes, System.DateTime updateDate, DbTransaction trans = null, string zoneId = "")
        {
            PlayerkillInfoProvider provider = new PlayerkillInfoProvider(zoneId);

            return(provider.ResetByTimes(configTimes, configByTimes, updateDate, trans));
        }
예제 #9
0
        public static List <PlayerkillInfoEntity> GetAll(string zoneId = "")
        {
            var provider = new PlayerkillInfoProvider(zoneId);

            return(provider.GetAll());
        }
예제 #10
0
        public static PlayerkillInfoEntity GetById(System.Guid managerId, string zoneId = "")
        {
            var provider = new PlayerkillInfoProvider(zoneId);

            return(provider.GetById(managerId));
        }