コード例 #1
0
        public void readCommand(byte[] bytes)
        {
            var param1 = new ByteParser(bytes);

            param1.readShort();
            rocketType = new AmmunitionTypeModule(param1.readShort());
        }
コード例 #2
0
        public void readCommand(IByteBuffer bytes)
        {
            var p = new ByteParser(bytes);

            p.readShort();
            rocketType = new AmmunitionTypeModule(p.readShort());
        }
コード例 #3
0
        public void readCommand(IByteBuffer bytes)
        {
            var parser = new ByteParser(bytes);

            parser.readShort();
            batteryType = new AmmunitionTypeModule(parser.readShort());
        }