TESVSnip.Domain.Model.GroupRecord.GetData C# (CSharp) Method

GetData() public method

public GetData ( ) : byte[]
return byte[]
        public byte[] GetData()
        {
            return (byte[])this.data.Clone();
        }

Usage Example

示例#1
0
 public GroupEditor(GroupRecord gr)
 {
     this.gr = gr;
     this.InitializeComponent();
     Icon = Resources.tesv_ico;
     this.cmbGroupType.ContextMenu = new ContextMenu();
     this.cmbGroupType.SelectedIndex = (int)gr.groupType;
     this.tbRecType.Text = gr.ContentsType;
     byte[] data = gr.GetData();
     this.tbX.Text = TypeConverter.h2ss(data[2], data[3]).ToString();
     this.tbY.Text = TypeConverter.h2ss(data[0], data[1]).ToString();
     this.tbBlock.Text = TypeConverter.h2i(data[0], data[1], data[2], data[3]).ToString();
     this.tbParent.Text = TypeConverter.h2i(data[0], data[1], data[2], data[3]).ToString("X8");
     this.tbDateStamp.Text = gr.dateStamp.ToString("X8");
     this.tbFlags.Text = gr.flags.ToString("X8");
 }