public bool Attack(string userId, string targetId, int type) { AssertAdminAuthToken(GetAuthToken()); return(gameManager.Attack(userId, targetId, (AttackType)type)); }