back_recharge
mashiyu 2019-01-15 16:19:23 +08:00
parent 62b82fe8e3
commit 5df73a6802
4 changed files with 189 additions and 1 deletions

View File

@ -0,0 +1,58 @@
Id PiecesId PiecesCount Quality Profession ProfessionResourceId PropertyName Hp Attack PhysicalDefence MagicDefence Speed SkillId RankupConsumeMaterial
int int int int int int int float float float float float mut,int#int,2 mut,int#int,2
1 2001 0 0 0 1203 1 2389 164 278 0 176 10100#10|10101#20 null
2 2002 0 0 0 1202 1 2277 155 260 0 158 10100#10|10101#20 null
3 2003 0 0 0 1202 1 2275 159 263 0 172 10100#10|10101#20 null
4 2004 0 0 0 1201 1 2269 183 0 277 132 10100#10|10101#20 null
5 2005 0 0 0 1203 1 2163 173 0 258 176 10100#10|10101#20 null
6 2006 0 0 0 1202 1 2165 174 0 261 176 10100#10|10101#20 null
7 2007 0 0 0 1201 2 2159 169 0 262 176 10100#10|10101#20 null
8 2008 0 0 0 1202 2 2020 206 0 222 132 10100#10|10101#20 null
9 2009 0 0 0 1203 2 1923 198 0 212 163 10100#10|10101#20 null
10 2010 0 0 0 1201 2 1925 200 0 208 132 10100#10|10101#20 null
11 2011 0 0 0 1201 2 1925 199 0 203 150 10100#10|10101#20 null
12 2012 0 0 0 1202 2 1763 251 201 0 150 10100#10|10101#20 null
13 2013 0 0 0 1202 3 1675 239 194 0 163 10100#10|10101#20 null
14 2014 0 0 0 1201 3 1684 235 197 0 185 10100#10|10101#20 null
15 2015 0 0 0 1203 3 1680 237 193 0 176 10100#10|10101#20 null
16 2016 0 0 0 1202 3 1513 293 167 0 154 10100#10|10101#20 null
17 2017 0 0 0 1201 3 1439 278 159 0 154 10100#10|10101#20 null
18 2018 0 0 0 1201 3 1439 278 159 0 154 10100#10|10101#20 null
19 2019 0 0 0 1201 4 1444 281 153 0 154 10100#10|10101#20 null
20 2020 0 0 0 1202 4 2277 159 261 0 154 10100#10|10101#20 null
21 2021 0 0 0 1201 4 1936 131 225 0 176 10100#10|10101#20 null
22 2022 0 0 0 1203 4 1637 168 0 178 163 10100#10|10101#20 null
23 2023 0 0 0 1201 4 1431 200 162 0 194 10100#10|10101#20 null
24 2024 0 0 0 1202 4 1220 239 133 0 154 10100#10|10101#20 null
25 2025 0 0 0 1203 4 1832 143 0 222 176 10100#10|10101#20 null
26 2026 0 0 0 1201 4 1934 136 226 0 176 10100#10|10101#20 null
27 2027 0 0 0 1201 4 1628 173 0 175 163 10100#10|10101#20 null
28 2028 0 0 0 1201 4 1428 209 165 0 194 10100#10|10101#20 null
29 1000 0 0 0 1201 4 1222 235 132 0 154 10100#10|10101#20 null
30 1000 0 0 0 1201 4 1834 149 0 224 176 10100#10|10101#20 null
31 1000 0 0 0 1201 4 1940 131 220 0 176 10100#10|10101#20 null
32 1000 0 0 0 1201 4 1632 165 0 177 163 10100#10|10101#20 null
33 1000 0 0 0 1201 4 1429 205 164 0 194 10100#10|10101#20 null
34 1000 0 0 0 1201 4 1221 242 135 0 154 10100#10|10101#20 null
35 1000 0 0 0 1201 4 1834 147 0 225 176 10100#10|10101#20 null
36 1000 0 0 0 1201 4 1934 136 217 0 176 10100#10|10101#20 null
37 1000 0 0 0 1201 4 1637 170 0 179 163 10100#10|10101#20 null
38 1000 0 0 0 1201 4 1427 201 170 0 194 10100#10|10101#20 null
39 1000 0 0 0 1201 4 1300 235 129 0 154 10100#10|10101#20 null
40 1000 0 0 0 1201 4 1948 147 0 219 176 10100#10|10101#20 null
41 1000 0 0 0 1201 4 1938 135 224 0 176 10100#10|10101#20 null
42 1000 0 0 0 1201 4 1636 174 0 179 163 10100#10|10101#20 null
43 1000 0 0 0 1201 4 1943 132 217 0 176 10100#10|10101#20 null
44 1000 0 0 0 1201 4 1627 166 0 181 163 10100#10|10101#20 null
45 1000 0 0 0 1202 4 1433 209 166 0 194 10100#10|10101#20 null
46 1000 0 0 0 1201 4 1228 241 131 0 154 10100#10|10101#20 null
47 1000 0 0 0 1201 4 1836 146 0 226 176 10100#10|10101#20 null
48 1000 0 0 0 1201 4 1939 141 223 0 176 10100#10|10101#20 null
49 1000 0 0 0 1201 4 1635 175 0 173 163 10100#10|10101#20 null
50 1000 0 0 0 1201 4 1424 208 166 0 194 10100#10|10101#20 null
51 1000 0 0 0 1201 4 1222 234 132 0 154 10100#10|10101#20 null
52 1000 0 0 0 1201 4 1834 140 0 220 176 10100#10|10101#20 null
53 1000 0 0 0 1201 4 1943 135 219 0 176 10100#10|10101#20 null
54 1000 0 0 0 1201 4 1630 169 0 176 163 10100#10|10101#20 null
55 1000 0 0 0 1201 4 1508 205 163 0 194 10100#10|10101#20 null
56 1000 0 0 0 1201 4 1297 242 137 0 154 10100#10|10101#20 null

View File

@ -0,0 +1,96 @@
package com.ljsd.jieling.config;
import com.ljsd.jieling.logic.STableManager;
import com.ljsd.jieling.logic.Table;
import java.util.Map;
@Table(name = "HeroConfig")
public class SCHero implements BaseConfig{
public static Map<Integer, SCHero> sCHero;
private int id;
private int piecesId;
private int piecesCount;
private int quality;
private int profession;
private int maxRank;
private float hp;
private float attack;
private float pDefence;
private float mDefence;
private float speed;
private String skillList;
@Override
public void init() throws Exception {
sCHero = STableManager.getConfig(SCHero.class);
}
public static Map<Integer, SCHero> getsCHero() {
return sCHero;
}
public int getId() {
return id;
}
public int getPiecesId() {
return piecesId;
}
public int getPiecesCount() {
return piecesCount;
}
public int getQuality() {
return quality;
}
public int getProfession() {
return profession;
}
public int getMaxRank() {
return maxRank;
}
public float getHp() {
return hp;
}
public float getAttack() {
return attack;
}
public float getpDefence() {
return pDefence;
}
public float getmDefence() {
return mDefence;
}
public float getSpeed() {
return speed;
}
public String getSkillList() {
return skillList;
}
}

View File

@ -0,0 +1,34 @@
package com.ljsd.jieling.handler;
import com.ljsd.jieling.netty.cocdex.PacketNetData;
import com.ljsd.jieling.network.session.ISession;
import com.ljsd.jieling.protocols.MessageTypeProto;
import com.ljsd.jieling.protocols.PlayerInfoProto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
@Component
public class GetAllItemHandler extends BaseHandler {
private static final Logger LOGGER = LoggerFactory.getLogger(GetAllItemHandler.class);
@Override
public MessageTypeProto.MessageType getMessageCode() {
return MessageTypeProto.MessageType.GET_ITEMINFO_REQUEST;
}
@Override
public void process(ISession iSession, PacketNetData netData) throws Exception {
int userId = netData.getUserId();
int token = netData.getToken();
int msgId = netData.getMsgId();
int msgIndex = netData.getIndex();
PlayerInfoProto.PlayerInfo.GetItemInfoRequest getItemInfoRequest
= PlayerInfoProto.PlayerInfo.GetItemInfoRequest.parseFrom(netData.parseClientProtoNetData());
}
}

View File

@ -13,7 +13,7 @@ public class CBean2Proto {
CommonProto.Common.Player player = CommonProto.Common.Player
.newBuilder()
.setUid(uid)
.setNicknime(playerManager.getNickName())
.setNickName(playerManager.getNickName())
.setExp(playerManager.getExp())
.setVipLevel(playerManager.getVipLevel())
.setFamilyId(playerManager.getFamilyId())