You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
901 B
36 lines
901 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MysqlHandling
|
|
{
|
|
/// <summary>
|
|
/// 代表一个玩家,通关玩家管理其去管理玩家个数,然后进行数据操作
|
|
/// </summary>
|
|
class GamePlayer
|
|
{
|
|
public long m_uid;
|
|
public int m_realmId;
|
|
|
|
public int m_bagCount;
|
|
public int m_heroCount;
|
|
public int m_equipmentCount;
|
|
|
|
|
|
public Role m_role;
|
|
|
|
public GamePlayer(long uid, int realmId, int bagCount, int heroCount, int equipmentCount)
|
|
{
|
|
m_bagCount = bagCount;
|
|
m_heroCount = heroCount;
|
|
m_equipmentCount = equipmentCount;
|
|
m_realmId = realmId;
|
|
m_uid = uid;
|
|
|
|
m_role = new Role(uid, bagCount, heroCount, equipmentCount);
|
|
}
|
|
}
|
|
}
|
|
|