reportutil

package
v0.0.0-...-570c91f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateGachaBoxDrops

func AggregateGachaBoxDrops(report *types.ReportTaskSingleReport)

func MergeDropsByDropTypeAndItemID

func MergeDropsByDropTypeAndItemID(drops []*types.Drop) (mergedDrops []*types.Drop)

MergeDropsByDropTypeAndItemID merges drops with same (DropType, ItemID) pair into one drop, summing up their Quantity values.

func MergeDropsByItemID

func MergeDropsByItemID(drops []*types.Drop) (mergedDrops []*types.Drop)

MergeDrops merges drops with same ItemID pair into one drop, summing up their Quantity values.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL