mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
注册登录Demo
注册登录Demo
This commit is contained in:
@@ -65,5 +65,17 @@ message H_C2G_LoginRequest // IRequest,H_G2C_LoginResponse
|
||||
}
|
||||
message H_G2C_LoginResponse // IResponse
|
||||
{
|
||||
string Text = 1;
|
||||
uint UID = 1;
|
||||
string Text = 2;
|
||||
}
|
||||
/// 客户端发送消息请求注册账户
|
||||
message H_C2G_RegisterRequest // IRequest,H_G2C_RegisterResponse
|
||||
{
|
||||
string UserName = 1;
|
||||
string Password = 2;
|
||||
uint SDKUID = 3;
|
||||
}
|
||||
message H_G2C_RegisterResponse // IResponse
|
||||
{
|
||||
uint UID = 1;
|
||||
}
|
20
DotNet/Config/ProtoBuf/proto_csOuterMessage.proto
Normal file
20
DotNet/Config/ProtoBuf/proto_csOuterMessage.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
package TEngine.Network.Message;
|
||||
import "google/protobuf/struct.proto";
|
||||
|
||||
|
||||
message AccountInfo
|
||||
{
|
||||
int64 UnitId = 1;
|
||||
int64 UserId = 2;
|
||||
int64 CharaId = 3;
|
||||
repeated int32 Ks = 4;
|
||||
repeated int64 Vs = 5;
|
||||
}
|
||||
|
||||
message ItemInfo
|
||||
{
|
||||
int32 ItemGId = 1;
|
||||
int32 ItemId = 2;
|
||||
int32 Count = 3;
|
||||
}
|
Reference in New Issue
Block a user