Merge branch 'sdk' into online
This commit is contained in:
commit
d64546505b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
config/Pet.xlsx
BIN
config/Pet.xlsx
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
124370
proto/Gameapi.cs
Normal file
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
}
|
||||
4
proto/protoToCS - 副本.bat
Normal file
4
proto/protoToCS - 副本.bat
Normal file
@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
REM 设置cs文件的输出目录
|
||||
set outDir=E:\WorkSpace\Docs\proto
|
||||
protoc.exe --csharp_out=%outDir% *.proto
|
||||
Loading…
Reference in New Issue
Block a user