controller

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownController

type DownController interface {
	Handle(ctx context.Context) error
}

func NewDownController

func NewDownController(userID uint32) DownController

type FriendsController

type FriendsController interface {
	Handle(ctx context.Context) ([]user.UserInfo, error)
}

func NewFriendsController

func NewFriendsController(userID uint32) FriendsController

type LoginController

type LoginController interface {
	Handle(ctx context.Context) (*user.UserInfo, int8)
}

func NewLoginController

func NewLoginController(username, password string) LoginController

type NickNameController

type NickNameController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewNickNameController

func NewNickNameController(userID uint32, nickname string) NickNameController

type RegisterController

type RegisterController interface {
	Handle(ctx context.Context) error
}

func NewRegisterController

func NewRegisterController(username, nickname, password string) RegisterController

type UpdateBagController

type UpdateBagController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUpdateBagController

func NewUpdateBagController(UserID uint32, BagID uint16, Slot uint8, ItemID uint16) UpdateBagController

type UpdateBuymenuController

type UpdateBuymenuController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUpdateBuymenuController

func NewUpdateBuymenuController(UserID uint32, BuymenuID uint16, Slot uint8, ItemID uint16) UpdateBuymenuController

type UpdateCampaignController

type UpdateCampaignController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUpdateCampaignController

func NewUpdateCampaignController(UserID uint32, campaignID uint8) UpdateCampaignController

type UpdateController

type UpdateController interface {
	Handle(ctx context.Context) error
}

func NewUpdateController

func NewUpdateController() UpdateController

type UpdateCosmeticsController

type UpdateCosmeticsController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUpdateCosmeticsController

func NewUpdateCosmeticsController(UserID uint32, CosmeticsID uint8, cosmetics *user.UserCosmetics) UpdateCosmeticsController

type UpdateOptionController

type UpdateOptionController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUpdateOptionController

func NewUpdateOptionController(userID uint32, data []byte) UpdateOptionController

type UserInfoController

type UserInfoController interface {
	Handle(ctx context.Context) (*user.UserInfo, error)
}

func NewUserInfoController

func NewUserInfoController(id uint32) UserInfoController

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL