Package be.demmel.jgws.actions

Examples of be.demmel.jgws.actions.ChatMessageAction


  @Override
  public void handlePacket(ChannelHandlerContext ctx, P093_ChatMessage packet, GameServerSession serverData, List<QueueAction> actions) throws Exception {
    CharacterData character = serverData.getCurrentCharacter();
    ChannelGroup allChannels = ctx.attr(AllChannelsKey.ALL_CHANNELS_KEY).get();
    actions.add(new ChatMessageAction(character, packet.getMessage(), allChannels));
  }
View Full Code Here

TOP

Related Classes of be.demmel.jgws.actions.ChatMessageAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.