func UpdateInfo_Gold(playerObj *player.Player, gold int) { playerObj.MutexObj.Lock() defer playerObj.MutexObj.Unlock() playerObj.Gold = gold }