BnetServer.Packets.Services.GameUtilitiesService.HandleGetAllValuesForAttributeRequest C# (CSharp) Method

HandleGetAllValuesForAttributeRequest() private method

private HandleGetAllValuesForAttributeRequest ( GetAllValuesForAttributeRequest getAllValuesForAttributeRequest, BnetSession session ) : void
getAllValuesForAttributeRequest GetAllValuesForAttributeRequest
session BnetServer.Network.BnetSession
return void
        public static async void HandleGetAllValuesForAttributeRequest(GetAllValuesForAttributeRequest getAllValuesForAttributeRequest, BnetSession session)
        {
            if (getAllValuesForAttributeRequest.AttributeKey == "Command_RealmListRequest_v1_b9")
            {
                var getAllValuesForAttributeResponse = new GetAllValuesForAttributeResponse();

                getAllValuesForAttributeResponse.AttributeValue.Add(new Variant { StringValue = "0-0-0" });

                await session.Send(getAllValuesForAttributeResponse);
            }
        }
    }