Skip to content

Commit

Permalink
proto files, change bytes to string
Browse files Browse the repository at this point in the history
Former-commit-id: 9478e010141a4df9e94a4b9832620452a0f3b07a
Former-commit-id: b7213207a4ca16c9a1c682ed0caaa77aa3c3c4db
  • Loading branch information
nickyang4github committed Feb 5, 2018
1 parent 5189c5e commit 0411910
Show file tree
Hide file tree
Showing 19 changed files with 431 additions and 275 deletions.
2 changes: 1 addition & 1 deletion Frame/SDK/Proto/AFMsgBase.pb.cc.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bbd740d07550e9bab7e69a5db1b96a698fc5287c
bf0d4844690b051add64d655d53643d1780aea07
2 changes: 1 addition & 1 deletion Frame/SDK/Proto/AFMsgBase.pb.h.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0aea9a1acbb27d931d5ca1dfc631f76f68b58b3b
8b28ff43ba4c3d205f3c24c25af7c9d9d4572f25
18 changes: 9 additions & 9 deletions Frame/SDK/Proto/AFMsgBase.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ message VariantData
int64 int64_value = 3;
float float_value = 4;
double double_value = 5;
bytes str_value = 6;
string str_value = 6;
Ident guid_value = 7;
}
}

////////////////////////BaseCommon/////////////////////////////
message PropertyPBData//基础结构,不直接发送
{
bytes property_name = 1;
string property_name = 1;
int32 ndataType = 2;
VariantData variant_data = 3;
}
Expand Down Expand Up @@ -65,7 +65,7 @@ message RecordAddRowStruct//

message ObjectRecordBase//基础结构,不直接发送
{
bytes record_name = 1;
string record_name = 1;
repeated RecordAddRowStruct row_struct = 2;
}

Expand Down Expand Up @@ -101,15 +101,15 @@ message ObjectPropertyPBData//
message ObjectRecordPBData//个人玩家单类型属性数据,可直接发送---变化时
{
Ident player_id = 1;
bytes record_name = 2;
string record_name = 2;
repeated RecordPBData record_list = 3;
}

message ObjectRecordSwap//个人玩家单类型属性数据,可直接发送---变化时
{
Ident player_id = 1;
bytes origin_record_name = 2;
bytes target_record_name = 3;
string origin_record_name = 2;
string target_record_name = 3;
int32 row_origin = 4;
int32 row_target = 5;
}
Expand All @@ -119,14 +119,14 @@ message ObjectRecordSwap//
message ObjectRecordAddRow//个人玩家单类型属性数据,可直接发送---变化时
{
Ident player_id = 1;
bytes record_name = 2;
string record_name = 2;
repeated RecordAddRowStruct row_data = 3;
}

message ObjectRecordRemove//个人玩家单类型属性数据,可直接发送---变化时
{
Ident player_id = 1;
bytes record_name = 2;
string record_name = 2;
repeated int32 remove_row = 3;
}

Expand All @@ -153,7 +153,7 @@ message PlayerRecordList
message BrocastMsg
{
Ident player_id = 1;
bytes msg_data = 2;
string msg_data = 2;
int64 nMsgID = 3;
repeated Ident player_Client_list = 4;
}
Expand Down
Loading

0 comments on commit 0411910

Please sign in to comment.