public uint Read(ref GenericFieldString1 data, IInBitStream bitstream) { var propertyMask = (uint)0; if (bitstream.ReadMask()) { var coherenceField = bitstream.ReadShortString(); data.name = coherenceToUnityConverters.ToUnityFixedString64(coherenceField); propertyMask |= 0b00000000000000000000000000000001; } return(propertyMask); }
public void GenericFieldString1(IOutBitStream bitstream, GenericFieldString1 data) { var converted_name = coherenceToUnityConverters.FromUnityFixedString64(data.name); bitstream.WriteShortString(converted_name); }
private void DeserializeGenericFieldString1(Coherence.Replication.Protocol.Definition.IInBitStream protocolStream) { var ignored = new GenericFieldString1(); unityReaders.Read(ref ignored, protocolStream); }
public void GenericFieldString1(IInBitStream bitstream, ref GenericFieldString1 data) { var name = bitstream.ReadShortString(); data.name = coherenceToUnityConverters.ToUnityFixedString64(name); }