Documentation ¶
Index ¶
- Variables
- func Character() string
- func CharacterWithID() (string, int)
- func Condition() (isSitting bool, isDirty bool, isOverweight bool, isBroken bool)
- func Image() ([]byte, error)
- func IsBrokenFromLastCondition(wasBroken bool) (isBroken bool)
- func IsDirtyFromLastCondition(wasDirty bool) (isDirty bool)
- func IsOverweightFromLastCondition(wasOverweight bool) (isOverweight bool)
- func IsSittingFromLastCondition(wasSit bool) (isSitting bool)
- func IsuName() string
- func MessageWithCondition(isDirty, isOverweight, isBroken bool, characterID int) string
- func SetGeneratedUser(username string)
- func Time() time.Time
- func TimeAfterArg(t time.Time) time.Time
- func UserName() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BaseTime = time.Date(2021, 8, 8, 0, 0, 0, 0, jst) // 競技の日と被るように
)
View Source
var CharacterData = []string{
"いじっぱり",
"うっかりや",
"おくびょう",
"おだやか",
"おっとり",
"おとなしい",
"がんばりや",
"きまぐれ",
"さみしがり",
"しんちょう",
"すなお",
"ずぶとい",
"せっかち",
"てれや",
"なまいき",
"のうてんき",
"のんき",
"ひかえめ",
"まじめ",
"むじゃき",
"やんちゃ",
"ゆうかん",
"ようき",
"れいせい",
"わんぱく",
}
昇順ソート済み
Functions ¶
func CharacterWithID ¶
func MessageWithCondition ¶
func SetGeneratedUser ¶
func SetGeneratedUser(username string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.