Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthAccountInput ¶
type AuthAccountInput struct { Username string `json:"username"` SecurePassword string `json:"secure_password"` }
AuthAccountInput form
func NewAuthAccountInput ¶
func NewAuthAccountInput() *AuthAccountInput
NewAuthAccountInput constructor
func (*AuthAccountInput) BuildAccount ¶
func (in *AuthAccountInput) BuildAccount() (account *entities.Account)
BuildAccount based in input request
type ChatInput ¶
type ChatInput struct { CharacterID int `json:"character_id"` Body string `json:"body"` CheckSessionInput *CheckSessionInput `json:"check_session_input"` }
ChatInput struct
type CheckSessionInput ¶
CheckSessionInput struct
func NewCheckSessionInput ¶
func NewCheckSessionInput() *CheckSessionInput
NewCheckSessionInput struct
type CreateAccountInput ¶
type CreateAccountInput struct { Username string `json:"username"` Password string `json:"password"` Email string `json:"email"` }
CreateAccountInput form
func NewCreateAccountInput ¶
func NewCreateAccountInput() *CreateAccountInput
NewCreateAccountInput constructor
func (*CreateAccountInput) BuildAccount ¶
func (in *CreateAccountInput) BuildAccount() (account *entities.Account)
BuildAccount based in input request
type CreateCharacterInput ¶
type CreateCharacterInput struct { Auth AuthAccountInput Name string `json:"name"` }
CreateCharacterInput form
func NewCreateCharacterInput ¶
func NewCreateCharacterInput() *CreateCharacterInput
NewCreateCharacterInput constructor
func (*CreateCharacterInput) BuildAccount ¶
func (in *CreateCharacterInput) BuildAccount() *entities.Account
BuildAccount from this form
func (*CreateCharacterInput) BuildCharacter ¶
func (in *CreateCharacterInput) BuildCharacter() *entities.Character
BuildCharacter from this form
type MoveCharacterInput ¶
type MoveCharacterInput struct { CharacterID int `json:"character_id"` DeltaX int `json:"delta_x"` DeltaY int `json:"delta_y"` CheckSessionInput *CheckSessionInput `json:"check_session_input"` }
MoveCharacterInput struct
func NewMoveCharacterInput ¶
func NewMoveCharacterInput() *MoveCharacterInput
NewMoveCharacterInput constructor
type SpawnCharacterInput ¶
type SpawnCharacterInput struct { CharacterID int `json:"character_id"` CheckSessionInput *CheckSessionInput `json:"check_session_input"` }
SpawnCharacterInput struct
func NewSpawnCharacterInput ¶
func NewSpawnCharacterInput() *SpawnCharacterInput
NewSpawnCharacterInput constructor
Click to show internal directories.
Click to hide internal directories.