syntax = "proto2";

import "steammessages_base.proto";

option optimize_for = SPEED;
option cc_generic_services = false;

message CMsgClientSiteInfo {
  optional uint64 site_id = 1;
  optional string site_name = 2;
  optional bool allow_cached_credentials = 3;
}

message CMsgClientSiteLicenseCheckout {
  optional uint32 appid = 1;
}

message CMsgClientSiteLicenseCheckoutResponse {
  optional int32 eresult = 1 [default = 2];
}

message CMsgClientSiteLicenseGetAvailableSeats {
  optional uint32 appid = 1;
}

message CMsgClientSiteLicenseGetAvailableSeatsResponse {
  optional int32 eresult = 1 [default = 2];
  optional uint32 seats = 2;
}

message CMsgClientSiteLicenseGetContentCacheInfo {
}

message CMsgClientSiteLicenseGetContentCacheInfoResponse {
  optional bool use_cache = 1;
  optional uint32 ipv4_address = 2;
  optional uint32 port_number = 3;
  optional uint32 p2p_group = 4;
  optional string ip_address = 5;
}

