ReadProperty() 공개 메소드

public ReadProperty ( ByteArrayReader reader, DomainHeader header ) : System.Threading.Tasks.Task
reader UpkManager.Domain.Helpers.ByteArrayReader
header DomainHeader
리턴 System.Threading.Tasks.Task
예제 #1
0
    internal async Task ReadPropertyHeader(ByteArrayReader reader, DomainHeader header) {
      TypeIndex = reader.ReadInt32();

      do {
        DomainProperty property = new DomainProperty();

        await property.ReadProperty(reader, header);

        Properties.Add(property);

        if (property.NameIndex.Name == ObjectTypes.None.ToString()) break;
      }
      while(true);
    }
예제 #2
0
        internal async Task ReadPropertyHeader(ByteArrayReader reader, DomainHeader header)
        {
            TypeIndex = reader.ReadInt32();

            do
            {
                DomainProperty property = new DomainProperty();

                await property.ReadProperty(reader, header);

                Properties.Add(property);

                if (property.NameIndex.Name == ObjectTypes.None.ToString())
                {
                    break;
                }
            }while (true);
        }