系统消息
parent
13c81629c6
commit
b621f90eb9
|
@ -1148,7 +1148,7 @@ public class HeroLogic {
|
||||||
List<CommonProto.Hero> heroList = drop.getHeroList();
|
List<CommonProto.Hero> heroList = drop.getHeroList();
|
||||||
CommonProto.Hero hero = heroList.get(0);
|
CommonProto.Hero hero = heroList.get(0);
|
||||||
int heroId = hero.getHeroId();
|
int heroId = hero.getHeroId();
|
||||||
ChatLogic.getInstance().sendSysChatMessage("",1,heroId,0,0,0,0,0);
|
ChatLogic.getInstance().sendSysChatMessage("玩家XXX获得妖灵师aaa",1,heroId,0,0,0,0,0);
|
||||||
MessageUtil.sendMessage(iSession,1,msgId,heroComposeResponse,true); }
|
MessageUtil.sendMessage(iSession,1,msgId,heroComposeResponse,true); }
|
||||||
|
|
||||||
public void getAllPokemon(ISession iSession) throws Exception {
|
public void getAllPokemon(ISession iSession) throws Exception {
|
||||||
|
|
|
@ -233,10 +233,11 @@ public class CBean2Proto {
|
||||||
chatInfo.setMsg(message);
|
chatInfo.setMsg(message);
|
||||||
chatInfo.setHead(playerInfoManager.getHead());
|
chatInfo.setHead(playerInfoManager.getHead());
|
||||||
chatInfo.setFrame(playerInfoManager.getFamilyId());
|
chatInfo.setFrame(playerInfoManager.getFamilyId());
|
||||||
|
chatInfo.setSoulVal(playerInfoManager.getMaxForce());
|
||||||
return chatInfo.build();
|
return chatInfo.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ChatProto.ChatInfo getSysChatInfoBuilder(String message,int messageType,int type,int itemId,int startTime, int endTime, int priorityLevel, int frequency) {
|
public static ChatProto.ChatInfo getSysChatInfoBuilder(String message,int messageType,int itemId,int type,int startTime, int endTime, int priorityLevel, int frequency) {
|
||||||
ChatProto.ChatInfo.Builder chatInfo = ChatProto.ChatInfo.newBuilder();
|
ChatProto.ChatInfo.Builder chatInfo = ChatProto.ChatInfo.newBuilder();
|
||||||
chatInfo.setItemId(itemId);
|
chatInfo.setItemId(itemId);
|
||||||
chatInfo.setTimes(System.currentTimeMillis());
|
chatInfo.setTimes(System.currentTimeMillis());
|
||||||
|
|
Loading…
Reference in New Issue