Пример #1
0
        public uint Read(ref GenericFieldEntity0 data, IInBitStream bitstream)
        {
            var propertyMask = (uint)0;


            if (bitstream.ReadMask())
            {
                var coherenceField = bitstream.ReadEntity();
                data.Value    = coherenceField;
                propertyMask |= 0b00000000000000000000000000000001;
            }

            return(propertyMask);
        }
 public void GenericFieldEntity0(IOutBitStream bitstream, GenericFieldEntity0 data)
 {
     bitstream.WriteEntity(data.Value);
 }
Пример #3
0
        private void DeserializeGenericFieldEntity0(Coherence.Replication.Protocol.Definition.IInBitStream protocolStream)
        {
            var ignored = new GenericFieldEntity0();

            unityReaders.Read(ref ignored, protocolStream);
        }
 public void GenericFieldEntity0(IInBitStream bitstream, ref GenericFieldEntity0 data)
 {
     data.Value = bitstream.ReadEntity();
 }