Documentation ¶
Index ¶
- func DeleteAOTCycleCtrlByGuild(ctx context.Context, db *pgxpool.Conn, gid int64) (err error)
- func DeleteAOTGuardsByGuild(ctx context.Context, db *pgxpool.Conn, gid int64) (err error)
- func DeleteAOTRaidsByGuild(ctx context.Context, db *pgxpool.Conn, gid int64) (err error)
- type AOTAnkhtion
- type AOTCycleCtrl
- type AOTGuard
- type AOTPlayer
- func (p *AOTPlayer) Insert(ctx context.Context, db *pgxpool.Conn) (err error)
- func (p *AOTPlayer) UpdateAmethysts(ctx context.Context, db *pgxpool.Conn, amethysts int) (err error)
- func (p *AOTPlayer) UpdateAnkhs(ctx context.Context, db *pgxpool.Conn, ankhs int) (err error)
- func (p *AOTPlayer) UpdateAnkhsBandits(ctx context.Context, db *pgxpool.Conn, ankhs int, spearmen int, archers int) (err error)
- func (p *AOTPlayer) UpdateBandits(ctx context.Context, db *pgxpool.Conn, spearmen int, archers int) (err error)
- type AOTRaid
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAOTGuardsByGuild ¶
Types ¶
type AOTPlayer ¶
type AOTPlayer struct { GuildID int64 UserID int64 Amethysts int Ankhs int Spearmen int Archers int }
func AOTPlayerByGuildUser ¶
func AOTPlayersByGuild ¶
func (*AOTPlayer) UpdateAmethysts ¶
func (*AOTPlayer) UpdateAnkhs ¶
func (*AOTPlayer) UpdateAnkhsBandits ¶
type AOTRaid ¶
type AOTRaid struct { GuildID int64 AttackerUserID int64 DefenderUserID int64 Reactor int16 Spearmen int Archers int }
func AOTRaidByGuildAttacker ¶
func AOTRaidsByGuild ¶
Click to show internal directories.
Click to hide internal directories.