BnetServer.Packets.Services.GameUtilitiesService.HandleGetAllValuesForAttributeRequest C# (CSharp) Метод

HandleGetAllValuesForAttributeRequest() приватный Метод

private HandleGetAllValuesForAttributeRequest ( GetAllValuesForAttributeRequest getAllValuesForAttributeRequest, BnetSession session ) : void
getAllValuesForAttributeRequest GetAllValuesForAttributeRequest
session BnetServer.Network.BnetSession
Результат 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);
            }
        }
    }