Package appeng.core.sync.packets

Examples of appeng.core.sync.packets.PacketProgressBar


    {
      o.sendProgressBarUpdate( source, channel, ((Enum) val).ordinal() );
    }
    else if ( val instanceof Long || val.getClass() == long.class )
    {
      NetworkHandler.instance.sendTo( new PacketProgressBar( channel, (Long) val ), (EntityPlayerMP) o );
    }
    else if ( val instanceof Boolean || val.getClass() == boolean.class )
    {
      o.sendProgressBarUpdate( source, channel, ((Boolean) val) ? 1 : 0 );
    }
View Full Code Here

TOP

Related Classes of appeng.core.sync.packets.PacketProgressBar

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.