Skip to content

Commit

Permalink
switching matchId from uint to ulong
Browse files Browse the repository at this point in the history
  • Loading branch information
nlavalle authored and xPaw committed Feb 8, 2024
1 parent 54e15f9 commit 08f6b97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Samples/10.DotaMatchRequest/DotaClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class DotaClient
string userName;
string password;

uint matchId;
ulong matchId;

bool gotMatch;

Expand All @@ -33,7 +33,7 @@ class DotaClient
const int APPID = 570;


public DotaClient( string userName, string password, uint matchId )
public DotaClient( string userName, string password, ulong matchId )
{
this.userName = userName;
this.password = password;
Expand Down
4 changes: 2 additions & 2 deletions Samples/10.DotaMatchRequest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
string username = args[ 0 ];
string password = args[ 1 ];

uint matchId;
if ( !uint.TryParse( args[ 2 ], out matchId ) )
ulong matchId;
if ( !ulong.TryParse( args[ 2 ], out matchId ) )
{
Console.WriteLine( "Invalid Match ID!" );
return;
Expand Down

0 comments on commit 08f6b97

Please sign in to comment.