card

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 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 Card

type Card struct {
	ID         int64  `json:"-"`
	Title      string `json:"-"`
	ChannelID  int64  `json:"-"`
	Type       string `json:"-"`
	Value      int64  `json:"-"`
	Reason     string `json:"-"`
	ReasonType int8   `json:"-"`
	Pos        int    `json:"-"`
	FromType   string `json:"-"`
}

func (*Card) CardToAiChange

func (c *Card) CardToAiChange() (a *ai.Item)

type CardPlat

type CardPlat struct {
	CardID    int64  `json:"-"`
	Plat      int8   `json:"-"`
	Condition string `json:"-"`
	Build     int    `json:"-"`
}

type ChannelSingle

type ChannelSingle struct {
	AID       interface{} `json:"aid,omitempty"`
	ChannelID interface{} `json:"channel_id,omitempty"`
}

type UpCard

type UpCard struct {
	ID         int64           `json:"id,omitempty"`
	Type       string          `json:"type,omitempty"`
	Title      string          `json:"title,omitempty"`
	RcmdReason string          `json:"rcmd_reason,omitempty"`
	Content    json.RawMessage `json:"content,omitempty"`
	Data       *recommend.Item `json:"data,omitempty"`
}

func (*UpCard) Change

func (c *UpCard) Change()

func (*UpCard) ChannelSingleChange

func (c *UpCard) ChannelSingleChange()

type UpContent

type UpContent struct {
	CType  string      `json:"ctype,omitempty"`
	CValue interface{} `json:"cvalue,omitempty"`
}

Jump to

Keyboard shortcuts

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