GameServer.Quests.Objective (game_server_sdk v1.0.1070)

Copy Markdown View Source

Quest objective struct from GameServer.

This is a stub module for SDK type definitions. The actual struct is provided by GameServer at runtime.

Fields

  • event - Event name the objective counts (string)
  • target - Occurrences required to complete (integer, default 1)
  • params - Optional match constraints on the event meta (map)

Summary

Types

t()

@type t() :: %GameServer.Quests.Objective{
  event: String.t(),
  params: map(),
  target: pos_integer()
}