<?php

/**
 * 登陆数据
 */

namespace Game\Operation\EventLog;

class LoginLog extends EventLog
{
    public int $first;  //首次登陆 1注册登陆 0非首次登陆
    public string $age; //年龄--国内用
    public string $gender;  //性别--国内用
    public int $diamond = 0; //钻石
    public int $ticket = 0;   //点券
    public int $gold = 0;    //金币
    public int $clubCoin = 0;    //俱乐部代币
    public int $seasonCoin = 0;  //赛季代币
    public int $warTokenCoin = 0;    //战令代币
    public int $playerId;
    public int $roleId;
    public string $imsi;
    public string $mac;

    public const FIRST_LOGIN = 1;
    public const NOT_FIRST_LOGIN = 0;

    public function GetLogType()
    {
        return EventLogType::Login;
    }
}
