Guest User

AbstractPacket

a guest
Jul 24th, 2016
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package fr.shyfe.dcedo.common;
  2.  
  3. import io.netty.buffer.ByteBuf;
  4. import io.netty.channel.ChannelHandlerContext;
  5. import net.minecraft.entity.player.EntityPlayer;
  6.  
  7. public abstract class AbstractPacket
  8. {
  9. public abstract void encodeInto(ChannelHandlerContext paramChannelHandlerContext, ByteBuf paramByteBuf);
  10.  
  11. public abstract void decodeInto(ChannelHandlerContext paramChannelHandlerContext, ByteBuf paramByteBuf);
  12.  
  13. public abstract void handleClientSide(EntityPlayer paramEntityPlayer);
  14.  
  15. public abstract void handleServerSide(EntityPlayer paramEntityPlayer);
  16. }
RAW Paste Data