rpcobj

package
v0.0.0-...-929fa59 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOK = iota
	StatusUnknownError
	StatusOtherError
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeValueArgs

type ChangeValueArgs struct {
	UID   string
	Value interface{}
}

type Config

type Config struct {
}

func (*Config) ReloadAllConfigs

func (c *Config) ReloadAllConfigs(nothing bool, reply *ConfigReply) error

func (*Config) ReloadConfig

func (c *Config) ReloadConfig(nothing bool, reply *ConfigReply) error

func (*Config) ReloadEventConfig

func (c *Config) ReloadEventConfig(nothing bool, reply *ConfigReply) error

func (*Config) ReloadInfoConfig

func (c *Config) ReloadInfoConfig(nothing bool, reply *ConfigReply) error

type ConfigReply

type ConfigReply struct {
	ConfigSuccess      bool
	ConfigError        string
	EventConfigSuccess bool
	EventConfigError   string
	InfoConfigSuccess  bool
	InfoConfigError    string
}

type SendMessageArgs

type SendMessageArgs struct {
	UID             string
	MessageContents string
	Item            obj.MessageItem
	ExpiresAfter    int64
}

type SendMessageToAllArgs

type SendMessageToAllArgs struct {
	MessageContents string
	Item            obj.MessageItem
	ExpiresAfter    int64
}

type Toolbox

type Toolbox struct {
}

func (*Toolbox) Debug_FixWerehogRedRings

func (t *Toolbox) Debug_FixWerehogRedRings(uids string, reply *ToolboxReply) error

func (*Toolbox) Debug_GetAllPlayerIDs

func (t *Toolbox) Debug_GetAllPlayerIDs(nothing bool, reply *ToolboxReply) error

func (*Toolbox) Debug_GetCampaignStatus

func (t *Toolbox) Debug_GetCampaignStatus(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_GetRouletteInfo

func (t *Toolbox) Debug_GetRouletteInfo(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_MatchPlayersToGameConf

func (t *Toolbox) Debug_MatchPlayersToGameConf(uids string, reply *ToolboxReply) error

func (*Toolbox) Debug_MigrateUser

func (t *Toolbox) Debug_MigrateUser(uidToUID string, reply *ToolboxReply) error

func (*Toolbox) Debug_PlayersByPassword

func (t *Toolbox) Debug_PlayersByPassword(password string, reply *ToolboxReply) error

func (*Toolbox) Debug_PrepTag1p0

func (t *Toolbox) Debug_PrepTag1p0(uids string, reply *ToolboxReply) error

func (*Toolbox) Debug_RawPlayer

func (t *Toolbox) Debug_RawPlayer(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetChao

func (t *Toolbox) Debug_ResetChao(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetChaoRouletteGroup

func (t *Toolbox) Debug_ResetChaoRouletteGroup(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetCharacterState

func (t *Toolbox) Debug_ResetCharacterState(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetCharactersAndCompensate

func (t *Toolbox) Debug_ResetCharactersAndCompensate(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetPlayer

func (t *Toolbox) Debug_ResetPlayer(uid string, reply *ToolboxReply) error

func (*Toolbox) Debug_ResetPlayersRank

func (t *Toolbox) Debug_ResetPlayersRank(uids string, reply *ToolboxReply) error

func (*Toolbox) Debug_SendMessage

func (t *Toolbox) Debug_SendMessage(args SendMessageArgs, reply *ToolboxReply) error

func (*Toolbox) Debug_SendMessageToAll

func (t *Toolbox) Debug_SendMessageToAll(args SendMessageToAllArgs, reply *ToolboxReply) error

func (*Toolbox) Debug_UsernameSearch

func (t *Toolbox) Debug_UsernameSearch(username string, reply *ToolboxReply) error

func (*Toolbox) FetchPlayer

func (t *Toolbox) FetchPlayer(uid string, reply *netobj.Player) error

func (*Toolbox) GetLastLogin

func (t *Toolbox) GetLastLogin(uid string, reply *ToolboxReply) error

func (*Toolbox) GetPassword

func (t *Toolbox) GetPassword(uid string, reply *ToolboxReply) error

func (*Toolbox) GetPersonalEvents

func (t *Toolbox) GetPersonalEvents(args ChangeValueArgs, reply *ToolboxValueReply) error

func (*Toolbox) GetRouletteTickets

func (t *Toolbox) GetRouletteTickets(uid string, reply *ToolboxReply) error

func (*Toolbox) GetTransferID

func (t *Toolbox) GetTransferID(uid string, reply *ToolboxReply) error

func (*Toolbox) GetUsername

func (t *Toolbox) GetUsername(uid string, reply *ToolboxReply) error

func (*Toolbox) RegisterPlayerWithID

func (t *Toolbox) RegisterPlayerWithID(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetBattleState

func (t *Toolbox) ResetBattleState(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetCampaign

func (t *Toolbox) ResetCampaign(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetDailyChallenge

func (t *Toolbox) ResetDailyChallenge(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetLastWheelOptions

func (t *Toolbox) ResetLastWheelOptions(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetLoginBonusState

func (t *Toolbox) ResetLoginBonusState(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetMapInfo

func (t *Toolbox) ResetMapInfo(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetPlayerVarious

func (t *Toolbox) ResetPlayerVarious(uid string, reply *ToolboxReply) error

func (*Toolbox) ResetRouletteInfo

func (t *Toolbox) ResetRouletteInfo(uid string, reply *ToolboxReply) error

func (*Toolbox) SetBuyRedRings

func (t *Toolbox) SetBuyRedRings(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetBuyRings

func (t *Toolbox) SetBuyRings(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetCampaignChapter

func (t *Toolbox) SetCampaignChapter(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetCampaignEpisode

func (t *Toolbox) SetCampaignEpisode(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetCampaignPoint

func (t *Toolbox) SetCampaignPoint(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetChaoEggs

func (t *Toolbox) SetChaoEggs(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetDailyMissionID

func (t *Toolbox) SetDailyMissionID(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetMainCharacter

func (t *Toolbox) SetMainCharacter(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetPersonalEvents

func (t *Toolbox) SetPersonalEvents(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetPersonalEventsJSON

func (t *Toolbox) SetPersonalEventsJSON(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetRank

func (t *Toolbox) SetRank(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetRedRings

func (t *Toolbox) SetRedRings(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetRings

func (t *Toolbox) SetRings(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetRouletteInfoResetTime

func (t *Toolbox) SetRouletteInfoResetTime(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetRouletteTickets

func (t *Toolbox) SetRouletteTickets(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetSubCharacter

func (t *Toolbox) SetSubCharacter(args ChangeValueArgs, reply *ToolboxReply) error

func (*Toolbox) SetUsername

func (t *Toolbox) SetUsername(args ChangeValueArgs, reply *ToolboxReply) error

type ToolboxReply

type ToolboxReply struct {
	Status uint
	Info   string
}

type ToolboxValueReply

type ToolboxValueReply struct {
	Status uint
	Result interface{}
}

Jump to

Keyboard shortcuts

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