示例#1
0
 internal JsonBuffsGenerationData(FinalPlayerBuffs stats)
 {
     Generation      = stats.Generation;
     Overstack       = stats.Overstack;
     Wasted          = stats.Wasted;
     UnknownExtended = stats.UnknownExtended;
     Extended        = stats.Extended;
     ByExtension     = stats.ByExtension;
 }
        public static JsonBuffsGenerationData BuildJsonBuffsGenerationData(FinalPlayerBuffs stats)
        {
            var jsonBuffsGenerationData = new JsonBuffsGenerationData();

            jsonBuffsGenerationData.Generation      = stats.Generation;
            jsonBuffsGenerationData.Overstack       = stats.Overstack;
            jsonBuffsGenerationData.Wasted          = stats.Wasted;
            jsonBuffsGenerationData.UnknownExtended = stats.UnknownExtended;
            jsonBuffsGenerationData.Extended        = stats.Extended;
            jsonBuffsGenerationData.ByExtension     = stats.ByExtension;
            return(jsonBuffsGenerationData);
        }