示例#1
0
文件: DLSID.cs 项目: Kermalis/DLS2
        public override string ToString()
        {
            string str = Data1.ToString("X8") + '-' + Data2.ToString("X4") + '-' + Data3.ToString("X4") + '-';

            for (int i = 0; i < 2; i++)
            {
                str += Data4[i].ToString("X2");
            }
            str += '-';
            for (int i = 2; i < 8; i++)
            {
                str += Data4[i].ToString("X2");
            }
            return(str);
        }
示例#2
0
 public string OperatorToString() =>
 Data1.ToString() + " "
 + Data2.ToString() + " "
 + Data3.ToString() + " "
 + Data4.ToString() + " "
 + Data5.ToString();
示例#3
0
 public override string ToString()
 {
     return($"{{{nameof(Offset)}={Offset.ToString("X")}, {nameof(ArticleGroupId)}={ArticleGroupId.ToString("X")}, {nameof(ArcEntryGroup)}={ArcEntryGroup.ToString("X")}, {nameof(Bone)}={Bone.ToString("X")}, {nameof(ActionFlags)}={ActionFlags.ToString("X")}, {nameof(SubActionFlags)}={SubActionFlags.ToString("X")}, {nameof(Actions)}={Actions.ToString("X")}, {nameof(SubActionMain)}={SubActionMain.ToString("X")}, {nameof(SubActionGfx)}={SubActionGfx.ToString("X")}, {nameof(SubActionSfx)}={SubActionSfx.ToString("X")}, {nameof(ModelVisibility)}={ModelVisibility.ToString("X")}, {nameof(CollisionData)}={CollisionData.ToString("X")}, {nameof(Data2)}={Data2.ToString("X")}, {nameof(Data3)}={Data3.ToString("X")}, {nameof(SubActionCount)}={SubActionCount.ToString("X")}}}");
 }