Merge branch 'sdk' into online

This commit is contained in:
hahwu 2026-04-29 15:25:52 +08:00
commit d64546505b
13 changed files with 124403 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

124370
proto/Gameapi.cs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3250,8 +3250,37 @@ message ResUserDetailInfo {
repeated UserDetailOrderInfo Order = 23;
}
message ResServerInfo{
int32 PlayerNum = 1; //
uint64 FreeMem = 2; //
double CPU = 3; // Cpu使用率
int32 StartTime = 4; //
string TotalAlloc = 5; //
string Alloc = 6; //
uint64 Sys = 7; //
uint32 NumGC = 8; // GC次数
int32 NumGoroutine = 9; //
uint64 UsageMem = 10; // 使
string Version = 11; //
}
message ResAdminGm{
int32 Code = 1;
string Msg = 2;
}
message ResBackend{
int32 Code = 1;
string Msg = 2;
}
service Backend {
rpc ReloadActivity(ReqActivityCfgReload) returns (ResActivityCfgReload);
rpc OrderShipping(ReqOrderShipping) returns (ResOrderShipping);
rpc UserDetail(UserDetailParam) returns (ResUserDetail);
rpc ServerInfo(ReqServerInfo) returns (ResServerInfo);
rpc PlayerGm(ReqAdminGm) returns (ResAdminGm);
rpc BanPlayer(ReqAdminBan) returns (ResBackend);
rpc ReloadMail(ReqReloadServerMail) returns (ResBackend);
rpc ServerReload(ReqReload) returns (ResBackend);
}

View File

@ -0,0 +1,4 @@
@echo off
REM 设置cs文件的输出目录
set outDir=E:\WorkSpace\Docs\proto
protoc.exe --csharp_out=%outDir% *.proto