200 lines
4.8 KiB
OCaml
200 lines
4.8 KiB
OCaml
|
|
||
|
(** Code for protocol.proto *)
|
||
|
|
||
|
(* generated from "./protocol.proto", do not edit *)
|
||
|
|
||
|
|
||
|
|
||
|
(** {2 Types} *)
|
||
|
|
||
|
type server_data = {
|
||
|
name : string;
|
||
|
display_name : string;
|
||
|
dispatch_url : string;
|
||
|
env_type : string;
|
||
|
title : string;
|
||
|
msg : string;
|
||
|
}
|
||
|
|
||
|
type global_dispatch_data = {
|
||
|
retcode : int32;
|
||
|
msg : string;
|
||
|
ajkbajlebhn : string;
|
||
|
server_list : server_data list;
|
||
|
odbdlipeoog : string;
|
||
|
}
|
||
|
|
||
|
type gateserver = {
|
||
|
cmelkdaaapf : bool;
|
||
|
ophmlpkgkij : bool;
|
||
|
mmcjggcenpp : string;
|
||
|
pllenlninnh : string;
|
||
|
lamjdogmfam : bool;
|
||
|
bblkofdgpap : string;
|
||
|
ephafkmpmif : string;
|
||
|
gmdfmaapebc : string;
|
||
|
mlcpkfihkko : int64;
|
||
|
bgpcckkddmb : bool;
|
||
|
ex_resource_url : string;
|
||
|
nkfnaojjlph : string;
|
||
|
hkdmdpmahem : string;
|
||
|
onkpibmdmpi : string;
|
||
|
fbobagpbbha : string;
|
||
|
mjjbccmcplk : string;
|
||
|
port : int32;
|
||
|
anegjdlagll : string;
|
||
|
gepfimnioke : bool;
|
||
|
lpnoekiaocp : string;
|
||
|
fgkgddonpkm : string;
|
||
|
nejihdfafbe : int32;
|
||
|
hafcipegpin : bool;
|
||
|
kghpigijmbp : string;
|
||
|
fpglgbgjmjc : string;
|
||
|
molbpmljolo : string;
|
||
|
asset_bundle_url : string;
|
||
|
kjadmknddjl : bool;
|
||
|
khclmhjlopk : string list;
|
||
|
lua_version : string;
|
||
|
okplkdhmohc : string;
|
||
|
ooeapiaafnb : string;
|
||
|
jelgnociekj : string;
|
||
|
hhpakondiob : int64;
|
||
|
opgmnlinakc : bool;
|
||
|
begfcjlkmob : bool;
|
||
|
nnhognglfbd : string;
|
||
|
retcode : int32;
|
||
|
kgljfhdhdek : string;
|
||
|
cjnjnfglick : int32;
|
||
|
ncdioakalen : string;
|
||
|
ip : string;
|
||
|
gediongpdha : bool;
|
||
|
mbdacjejamf : bool;
|
||
|
lua_url : string;
|
||
|
dmdahpindno : string;
|
||
|
gjaeghbeaio : bool;
|
||
|
ddohlaegeah : int32;
|
||
|
bfoekehoejp : string;
|
||
|
chnmpglhncm : string;
|
||
|
pggjoogfgfc : string;
|
||
|
dklchemciai : bool;
|
||
|
migeegecjcb : string;
|
||
|
ciinblfopda : string;
|
||
|
fkenkkhlhhd : bool;
|
||
|
hjbndbbicdo : string;
|
||
|
fggmipmoook : string;
|
||
|
use_tcp : bool;
|
||
|
imffkkjpojc : string;
|
||
|
}
|
||
|
|
||
|
|
||
|
(** {2 Basic values} *)
|
||
|
|
||
|
val default_server_data :
|
||
|
?name:string ->
|
||
|
?display_name:string ->
|
||
|
?dispatch_url:string ->
|
||
|
?env_type:string ->
|
||
|
?title:string ->
|
||
|
?msg:string ->
|
||
|
unit ->
|
||
|
server_data
|
||
|
(** [default_server_data ()] is the default value for type [server_data] *)
|
||
|
|
||
|
val default_global_dispatch_data :
|
||
|
?retcode:int32 ->
|
||
|
?msg:string ->
|
||
|
?ajkbajlebhn:string ->
|
||
|
?server_list:server_data list ->
|
||
|
?odbdlipeoog:string ->
|
||
|
unit ->
|
||
|
global_dispatch_data
|
||
|
(** [default_global_dispatch_data ()] is the default value for type [global_dispatch_data] *)
|
||
|
|
||
|
val default_gateserver :
|
||
|
?cmelkdaaapf:bool ->
|
||
|
?ophmlpkgkij:bool ->
|
||
|
?mmcjggcenpp:string ->
|
||
|
?pllenlninnh:string ->
|
||
|
?lamjdogmfam:bool ->
|
||
|
?bblkofdgpap:string ->
|
||
|
?ephafkmpmif:string ->
|
||
|
?gmdfmaapebc:string ->
|
||
|
?mlcpkfihkko:int64 ->
|
||
|
?bgpcckkddmb:bool ->
|
||
|
?ex_resource_url:string ->
|
||
|
?nkfnaojjlph:string ->
|
||
|
?hkdmdpmahem:string ->
|
||
|
?onkpibmdmpi:string ->
|
||
|
?fbobagpbbha:string ->
|
||
|
?mjjbccmcplk:string ->
|
||
|
?port:int32 ->
|
||
|
?anegjdlagll:string ->
|
||
|
?gepfimnioke:bool ->
|
||
|
?lpnoekiaocp:string ->
|
||
|
?fgkgddonpkm:string ->
|
||
|
?nejihdfafbe:int32 ->
|
||
|
?hafcipegpin:bool ->
|
||
|
?kghpigijmbp:string ->
|
||
|
?fpglgbgjmjc:string ->
|
||
|
?molbpmljolo:string ->
|
||
|
?asset_bundle_url:string ->
|
||
|
?kjadmknddjl:bool ->
|
||
|
?khclmhjlopk:string list ->
|
||
|
?lua_version:string ->
|
||
|
?okplkdhmohc:string ->
|
||
|
?ooeapiaafnb:string ->
|
||
|
?jelgnociekj:string ->
|
||
|
?hhpakondiob:int64 ->
|
||
|
?opgmnlinakc:bool ->
|
||
|
?begfcjlkmob:bool ->
|
||
|
?nnhognglfbd:string ->
|
||
|
?retcode:int32 ->
|
||
|
?kgljfhdhdek:string ->
|
||
|
?cjnjnfglick:int32 ->
|
||
|
?ncdioakalen:string ->
|
||
|
?ip:string ->
|
||
|
?gediongpdha:bool ->
|
||
|
?mbdacjejamf:bool ->
|
||
|
?lua_url:string ->
|
||
|
?dmdahpindno:string ->
|
||
|
?gjaeghbeaio:bool ->
|
||
|
?ddohlaegeah:int32 ->
|
||
|
?bfoekehoejp:string ->
|
||
|
?chnmpglhncm:string ->
|
||
|
?pggjoogfgfc:string ->
|
||
|
?dklchemciai:bool ->
|
||
|
?migeegecjcb:string ->
|
||
|
?ciinblfopda:string ->
|
||
|
?fkenkkhlhhd:bool ->
|
||
|
?hjbndbbicdo:string ->
|
||
|
?fggmipmoook:string ->
|
||
|
?use_tcp:bool ->
|
||
|
?imffkkjpojc:string ->
|
||
|
unit ->
|
||
|
gateserver
|
||
|
(** [default_gateserver ()] is the default value for type [gateserver] *)
|
||
|
|
||
|
|
||
|
(** {2 Protobuf Encoding} *)
|
||
|
|
||
|
val encode_pb_server_data : server_data -> Pbrt.Encoder.t -> unit
|
||
|
(** [encode_pb_server_data v encoder] encodes [v] with the given [encoder] *)
|
||
|
|
||
|
val encode_pb_global_dispatch_data : global_dispatch_data -> Pbrt.Encoder.t -> unit
|
||
|
(** [encode_pb_global_dispatch_data v encoder] encodes [v] with the given [encoder] *)
|
||
|
|
||
|
val encode_pb_gateserver : gateserver -> Pbrt.Encoder.t -> unit
|
||
|
(** [encode_pb_gateserver v encoder] encodes [v] with the given [encoder] *)
|
||
|
|
||
|
|
||
|
(** {2 Protobuf Decoding} *)
|
||
|
|
||
|
val decode_pb_server_data : Pbrt.Decoder.t -> server_data
|
||
|
(** [decode_pb_server_data decoder] decodes a [server_data] binary value from [decoder] *)
|
||
|
|
||
|
val decode_pb_global_dispatch_data : Pbrt.Decoder.t -> global_dispatch_data
|
||
|
(** [decode_pb_global_dispatch_data decoder] decodes a [global_dispatch_data] binary value from [decoder] *)
|
||
|
|
||
|
val decode_pb_gateserver : Pbrt.Decoder.t -> gateserver
|
||
|
(** [decode_pb_gateserver decoder] decodes a [gateserver] binary value from [decoder] *)
|