コード例 #1
0
        public uint Read(ref GenericFieldInt6 data, IInBitStream bitstream)
        {
            var propertyMask = (uint)0;


            if (bitstream.ReadMask())
            {
                var coherenceField = bitstream.ReadIntegerRange(15, -9999);
                data.number   = coherenceField;
                propertyMask |= 0b00000000000000000000000000000001;
            }

            return(propertyMask);
        }
コード例 #2
0
 public void GenericFieldInt6(IOutBitStream bitstream, GenericFieldInt6 data)
 {
     bitstream.WriteIntegerRange(data.number, 15, -9999);
 }
コード例 #3
0
        private void DeserializeGenericFieldInt6(Coherence.Replication.Protocol.Definition.IInBitStream protocolStream)
        {
            var ignored = new GenericFieldInt6();

            unityReaders.Read(ref ignored, protocolStream);
        }
コード例 #4
0
 public void GenericFieldInt6(IInBitStream bitstream, ref GenericFieldInt6 data)
 {
     data.number = bitstream.ReadIntegerRange(15, -9999);
 }