Esempio n. 1
0
 public bool UpdateInGameGuildDailyGainGP(int guildSN, GPGainType gainType, int point)
 {
     if (FeatureMatrix.IsEnable("GuildLevel"))
     {
         int num = this.UpdateInGameGuildDailyGainGP(new int?(FeatureMatrix.GameCode), new int?(GuildAPI.ServerCode), new int?(guildSN), new byte?((byte)gainType), new int?(point));
         if (num == 1)
         {
             return(true);
         }
     }
     return(false);
 }
Esempio n. 2
0
		public static int GetDailyGPLimit(GPGainType gainType)
		{
			if (!GPGainTypeUtil.IsValidGPGainTypeValue(gainType, true))
			{
				return 0;
			}
			int result = 0;
			if (!GuildContents.GuildDailyGPLimit.TryGetValue(gainType, out result))
			{
				result = -1;
			}
			return result;
		}
Esempio n. 3
0
 public static bool IsValidGPGainTypeValue(GPGainType type, bool includeCheat)
 {
     return(GPGainTypeUtil.IsValidGPGainTypeValue((int)type, includeCheat));
 }