//获得成就状态 public eRewardState GetAchievementState(int id) { var table = Table.GetAchievement(id); if (0 != FlagData.GetFlag(table.RewardFlagId)) { return(eRewardState.HasGot); } if (0 != FlagData.GetFlag(table.FinishFlagId)) { return(eRewardState.CanGet); } return(eRewardState.CannotGet); }