示例#1
0
        /*Add 'count' to the achievement with the given name. This must be a COUNT
         * achievement. The largest number that is supported by this method is the max
         * value of a signed 64-bit integer. If the number is larger than that, it is
         * clamped to that max value before being passed to the servers.
         */
        public static PXR_Request <PXR_AchievementUpdate> AddCount(string name, long count)
        {
            if (PXR_AchievementCore.IsInitialized())
            {
                return(new PXR_Request <PXR_AchievementUpdate>(PXR_AchievementAPI.pvr_Achievements_AddCount(name, count)));
            }

            return(null);
        }