package game

import (
	"encoding/gob"
	"server/game/mod/limitedTimeEvent"
)

type PlayerSimpleData struct {
	Uid         int
	Name        string
	Avatar      int
	Level       int
	Face        int
	Decorate    int
	Star        int
	Login       int64
	Loginout    int64
	FaceBook    string
	FaceBookPic string
	Playroom    map[int]int
	Chess       []int
	WorkStart   int64
	Chip        int
	PetName     string
	Emoji       map[int]int
}

type VarGoldCard struct {
	Four int
	Five int
}

const (
	ACT_STATUS_NOT_START = 0
	ACT_STATUS_START     = 1
	ACT_STATUS_END       = 2
)

const (
	ACT_TYPE_MINING      = 1 // 挖矿
	ACT_TYPE_GUESS_COLOR = 2 // 猜颜色
	ACT_TYPE_RACE        = 3 // 赛跑
)

type ActivityInfo struct {
	StartT int64
	EndT   int64
	Id     int
	Type   int
	Title  string
	Name   string
	Info   interface{}
}

func init() {
	gob.Register(&limitedTimeEvent.MoneyCat{})
	gob.Register(&limitedTimeEvent.LuckyCat{})
}
