public GetGesturesCount ( Int64 UserId ) : int | ||
UserId | Int64 | User ID |
return | int |
public int GetGesturesCount(Int64 UserId)
{
List<KinectGestures.GestureData> gesturesData = playerGesturesData.ContainsKey(UserId) ? playerGesturesData[UserId] : null;
if (gesturesData != null)
{
return gesturesData.Count;
}
return 0;
}