Gamend.Economy.Wallet (gamend_core v1.0.1192)

Copy Markdown View Source

A user's balance of one currency. Currencies are free-form string codes ("gold", "gems", "energy") — the game decides which exist.

Summary

Types

t()

@type t() :: %Gamend.Economy.Wallet{
  __meta__: term(),
  balance: term(),
  currency: term(),
  id: term(),
  inserted_at: term(),
  updated_at: term(),
  user: term(),
  user_id: term()
}