Drafting is the process of building a deck from a series of irreversible choices of cards. A typical draft starts
with select a champion, followed by choosing one of three cards randomly drawn from the collection until a
GameLogic.MAX_DECK_SIZE deck is built. This process is implemented in the
DraftLogic, which delegates the choices to
net package contains code that actually sends requests to a networked Unity client and maintains the
state of the draft over the user's lifetime.
Interface Summary Interface Description DraftBehaviourDescribes a behaviour during a draft.
Class Summary Class Description DraftContextStores data and logic relating to drafting cards. DraftLogic NullDraftBehaviourA behaviour which makes no choices, so its reply handlers are never called. PrivateDraftStatePrivate information about the player's draft. PublicDraftStatePublic information about the player's draft.
Enum Summary Enum Description DraftStatusIndicates different states of a draft.
Exception Summary Exception Description DraftExceptionIndicates the user made an error, typically an invalid or out-of-order choice, during drafting. InvalidDraftCardSelectionExceptionIndicates the end user made an invalid card selection (the index was out of bounds). InvalidDraftStatusExceptionIndicates the current state of the draft is invalid for the requested changes.