发送全服数据
parent
1f452b87f1
commit
37ea59cc50
|
|
@ -309,4 +309,11 @@ public class MessageUtil {
|
||||||
sendIndicationMessage(sessionByUid,1, MessageTypeProto.MessageType.ROOM_SYNC_OTHER_MOVE_INDICTION_VALUE, builder.build(), true);
|
sendIndicationMessage(sessionByUid,1, MessageTypeProto.MessageType.ROOM_SYNC_OTHER_MOVE_INDICTION_VALUE, builder.build(), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void sendAllOnlineUserMsg(int msgId,GeneratedMessage generatedMessage){
|
||||||
|
for(ISession session : OnlineUserManager.sessionMap.values()){
|
||||||
|
sendIndicationMessage(session,1,msgId,generatedMessage,true);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue