using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MysqlHandling { /// /// 代表一个玩家,通关玩家管理其去管理玩家个数,然后进行数据操作 /// 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); } } }