Skip to content

Commit

Permalink
Configuration to allow fake receipt purchases.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Jul 26, 2024
1 parent 9d52412 commit d260d4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions economy.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ var (

// EconomyConfig is the data definition for the EconomySystem type.
type EconomyConfig struct {
InitializeUser *EconomyConfigInitializeUser `json:"initialize_user,omitempty"`
Donations map[string]*EconomyConfigDonation `json:"donations,omitempty"`
StoreItems map[string]*EconomyConfigStoreItem `json:"store_items,omitempty"`
Placements map[string]*EconomyConfigPlacement `json:"placements,omitempty"`
InitializeUser *EconomyConfigInitializeUser `json:"initialize_user,omitempty"`
Donations map[string]*EconomyConfigDonation `json:"donations,omitempty"`
StoreItems map[string]*EconomyConfigStoreItem `json:"store_items,omitempty"`
Placements map[string]*EconomyConfigPlacement `json:"placements,omitempty"`
AllowFakeReceipts bool `json:"allow_fake_receipts,omitempty"`
}

type EconomyConfigDonation struct {
Expand Down

0 comments on commit d260d4c

Please sign in to comment.