import "netmessages.proto";

message C2S_CONNECT_SameProcessCheck {
	optional uint64 localhost_process_id = 1;
	optional uint64 key = 2;
}

message C2S_CONNECT_Message {
	optional uint32 host_version = 1;
	optional uint32 auth_protocol = 2;
	optional uint32 challenge_number = 3;
	optional fixed64 reservation_cookie = 4;
	optional bool low_violence = 5;
	optional bytes encrypted_password = 6;
	repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7;
	optional bytes auth_steam = 8;
	optional string challenge_context = 9;
	optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 10;
}

message C2S_CONNECTION_Message {
	optional string addon_name = 1;
	optional .C2S_CONNECT_SameProcessCheck localhost_same_process_check = 2;
}
