Package com.comphenix.protocol.wrappers

Examples of com.comphenix.protocol.wrappers.WrappedGameProfile


  }
 
  @Test
  public void testGameProfiles() {
    PacketContainer spawnEntity = new PacketContainer(PacketType.Play.Server.NAMED_ENTITY_SPAWN);
    WrappedGameProfile profile = new WrappedGameProfile("d7047a08-3150-4aa8-a2f2-7c1e2b17e298", "name");
    spawnEntity.getGameProfiles().write(0, profile);
   
    assertEquals(profile, spawnEntity.getGameProfiles().read(0));
  }
View Full Code Here

TOP

Related Classes of com.comphenix.protocol.wrappers.WrappedGameProfile

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.