Commit 4541b0a0be980533cf9d308b17328b037e4a08b0
1 parent
3a3a7fba
fix: 增加gold字段
Showing
1 changed file
with
20 additions
and
19 deletions
Show diff stats
models.proto
@@ -98,23 +98,24 @@ message Role { | @@ -98,23 +98,24 @@ message Role { | ||
98 | string nick = 4; | 98 | string nick = 4; |
99 | int32 level = 5; | 99 | int32 level = 5; |
100 | int32 exp = 6; | 100 | int32 exp = 6; |
101 | - | ||
102 | - int64 hp = 7; | ||
103 | - int64 hp_max = 8; | ||
104 | - bool del = 9; | ||
105 | - map<string,uint32> incres = 10; | ||
106 | - | ||
107 | - string items = 11;//物品 "id=count id2=count2" | ||
108 | - uint32 clotheslimit = 12; | ||
109 | - uint32 weaponslimit = 13; | ||
110 | - uint32 otherlimit = 14; | ||
111 | - uint32 jewelrylimit = 15; | ||
112 | - uint32 materiallimit = 16; | ||
113 | - | ||
114 | - map<int32,int32> passchapters = 17; // 通关记录 | ||
115 | - map<int32,int32> time_reset = 18; // 重置记录 {1=1,2=1,3=1} 1=CrossDay,2=CrossWeek,3=CrossMonth | ||
116 | - | ||
117 | - map<int32,int32> daily_task = 19; | ||
118 | - map<int32,int32> week_task = 20; | ||
119 | - map<int32,int32> month_task = 21; | 101 | + int32 gold = 7; |
102 | + | ||
103 | + int64 hp = 8; | ||
104 | + int64 hp_max = 9; | ||
105 | + bool del = 10; | ||
106 | + map<string,uint32> incres = 11; | ||
107 | + | ||
108 | + string items = 12;//物品 "id=count id2=count2" | ||
109 | + uint32 clotheslimit = 13; | ||
110 | + uint32 weaponslimit = 14; | ||
111 | + uint32 otherlimit = 15; | ||
112 | + uint32 jewelrylimit = 16; | ||
113 | + uint32 materiallimit = 17; | ||
114 | + | ||
115 | + map<int32,int32> passchapters = 18; // 通关记录 | ||
116 | + map<int32,int32> time_reset = 19; // 重置记录 {1=1,2=1,3=1} 1=CrossDay,2=CrossWeek,3=CrossMonth | ||
117 | + | ||
118 | + map<int32,int32> daily_task = 20; | ||
119 | + map<int32,int32> week_task = 21; | ||
120 | + map<int32,int32> month_task = 22; | ||
120 | } | 121 | } |
121 | \ No newline at end of file | 122 | \ No newline at end of file |