func UpdateInfo_Name(playerObj *player.Player, name string) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Name = name }
func UpdateInfo_Gold(playerObj *player.Player, gold int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Gold = gold }
func UpdateInfo_Diamond(playerObj *player.Player, diamond int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Diamond = diamond }
func UpdateInfo_VipExp(playerObj *player.Player, vipExp int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.VipExp = vipExp }
func UpdateInfo_Exp(playerObj *player.Player, exp int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Exp = exp }
func UpdateInfo_Lv(playerObj *player.Player, lv int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Lv = lv }