BF2Statistics.Gamespy.GpcmClient.SendProfile C# (CSharp) Method

SendProfile() private method

This method is called when the client requests for the Account profile
private SendProfile ( ) : void
return void
        private void SendProfile()
        {
            Stream.SendAsync(
                @"\pi\\profileid\{0}\nick\{1}\userid\{0}\email\{2}\sig\{3}\uniquenick\{1}\pid\0\firstname\\lastname\" +
                @"\countrycode\{4}\birthday\16844722\lon\0.000000\lat\0.000000\loc\\id\{5}\\final\",
                PlayerId, PlayerNick, PlayerEmail, GenerateSig(), PlayerCountryCode, (ProfileSent ? "5" : "2")
            );

            // Set that we send the profile initially
            if (!ProfileSent) ProfileSent = true;
        }