Examples of HealthMessage


Examples of com.mamaeye.bean.HealthMessage

 
  @Test
  public void insertHealth() {
    User user = userDao.getById(1);
   
    HealthMessage message = new HealthMessage();
    message.setUser(user);
    message.setStatus(1);
    message.setCreatedAt(new Date());
   
    message.setDate("2011-03-28");
    message.setAge("1");
    message.setHeight("100");
    message.setWeight("6");
    message.setCc("50");
    message.setHc("10");
    message.setRightEye("1.0");
    message.setLeftEye("1.2");

    messageDao.save(message);
  }
View Full Code Here

Examples of net.glowstone.net.message.play.game.HealthMessage

    @Override
    public HealthMessage decode(ByteBuf buffer) throws IOException {
        float health = buffer.readFloat();
        int food = ByteBufUtils.readVarInt(buffer);
        float saturation = buffer.readFloat();
        return new HealthMessage(health, food, saturation);
    }
View Full Code Here

Examples of net.lightstone.msg.HealthMessage

  }

  @Override
  public HealthMessage decode(ChannelBuffer buffer) throws IOException {
    int health = buffer.readUnsignedByte();
    return new HealthMessage(health);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.