mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-30 13:05:43 +00:00
https://github.com/XTLS/Xray-core/pull/6487#issuecomment-5092235757 --------- Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
27 lines
865 B
Protocol Buffer
27 lines
865 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.finalmask.xmc;
|
|
option csharp_namespace = "Xray.Transport.Internet.Finalmask.XMC";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/finalmask/xmc";
|
|
option java_package = "com.xray.transport.internet.finalmask.xmc";
|
|
option java_multiple_files = true;
|
|
|
|
message Profile {
|
|
// Resolve the UUID from https://api.mojang.com/users/profiles/minecraft/{username}.
|
|
string username = 1;
|
|
bytes uuid = 2;
|
|
// Copy the signed textures property returned by
|
|
// https://sessionserver.mojang.com/session/minecraft/profile/{uuid}?unsigned=false.
|
|
string textures_value = 3;
|
|
string textures_signature = 4;
|
|
}
|
|
|
|
message Config {
|
|
string password = 1;
|
|
reserved 2;
|
|
bytes rsa_private_key = 8;
|
|
bytes rsa_public_key = 9;
|
|
string hostname = 10;
|
|
repeated Profile profiles = 11;
|
|
}
|