@@ -42,65 +42,64 @@ public string BuildSupportLog()
42
42
{
43
43
var sb = new StringBuilder ( 10240 ) ;
44
44
sb . AppendLine ( "**Settings**" ) ;
45
- sb . Append ( $ "> **`Plugin Version: `** { Plugin . Version } \n ") ;
46
- sb . Append ( $ "> **`Commit Hash: `** { ThisAssembly . Git . Commit } +{ ThisAssembly . Git . Sha } \n ") ;
47
- sb . Append ( $ "> **`Root editing: `** { _configuration . EditorConfiguration . RootPositionEditingEnabled } \n ") ;
45
+ sb . Append ( $ "> **`Plugin Version: `** { Plugin . Version } \n ") ;
46
+ sb . Append ( $ "> **`Commit Hash: `** { ThisAssembly . Git . Commit } +{ ThisAssembly . Git . Sha } \n ") ;
47
+ sb . Append ( $ "> **`Root editing: `** { _configuration . EditorConfiguration . RootPositionEditingEnabled } \n ") ;
48
48
sb . AppendLine ( "**Settings -> Editor Settings**" ) ;
49
- sb . Append ( $ "> **`Limit to my creatures (editor): `** { _configuration . EditorConfiguration . LimitLookupToOwnedObjects } \n ") ;
50
- sb . Append ( $ "> **`Preview character (editor): `** { _configuration . EditorConfiguration . PreviewCharacterName ? . Incognify ( ) ?? "Not set" } \n ") ;
49
+ sb . Append ( $ "> **`Limit to my creatures (editor): `** { _configuration . EditorConfiguration . LimitLookupToOwnedObjects } \n ") ;
50
+ sb . Append ( $ "> **`Preview character (editor): `** { _configuration . EditorConfiguration . PreviewCharacterName ? . Incognify ( ) ?? "Not set" } \n ") ;
51
51
sb . AppendLine ( "**Settings -> Profile application**" ) ;
52
- sb . Append ( $ "> **`Character window: `** { _configuration . ProfileApplicationSettings . ApplyInCharacterWindow } \n ") ;
53
- sb . Append ( $ "> **`Try On: `** { _configuration . ProfileApplicationSettings . ApplyInTryOn } \n ") ;
54
- sb . Append ( $ "> **`Cards: `** { _configuration . ProfileApplicationSettings . ApplyInCards } \n ") ;
55
- sb . Append ( $ "> **`Inspect: `** { _configuration . ProfileApplicationSettings . ApplyInInspect } \n ") ;
56
- sb . Append ( $ "> **`Lobby: `** { _configuration . ProfileApplicationSettings . ApplyInLobby } \n ") ;
52
+ sb . Append ( $ "> **`Character window: `** { _configuration . ProfileApplicationSettings . ApplyInCharacterWindow } \n ") ;
53
+ sb . Append ( $ "> **`Try On: `** { _configuration . ProfileApplicationSettings . ApplyInTryOn } \n ") ;
54
+ sb . Append ( $ "> **`Cards: `** { _configuration . ProfileApplicationSettings . ApplyInCards } \n ") ;
55
+ sb . Append ( $ "> **`Inspect: `** { _configuration . ProfileApplicationSettings . ApplyInInspect } \n ") ;
56
+ sb . Append ( $ "> **`Lobby: `** { _configuration . ProfileApplicationSettings . ApplyInLobby } \n ") ;
57
57
sb . AppendLine ( "**Relevant plugins**" ) ;
58
58
GatherRelevantPlugins ( sb ) ;
59
59
sb . AppendLine ( "**Templates**" ) ;
60
- sb . Append ( $ "> **`Count: `** { _templateManager . Templates . Count } \n ") ;
60
+ sb . Append ( $ "> **`Count: `** { _templateManager . Templates . Count } \n ") ;
61
61
foreach ( var template in _templateManager . Templates )
62
62
{
63
- sb . Append ( $ "> > **`{ template . ToString ( ) , - 29 } `**\n ") ;
63
+ sb . Append ( $ "> > **`{ template . ToString ( ) , - 32 } `**\n ") ;
64
64
}
65
65
sb . AppendLine ( "**Profiles**" ) ;
66
- sb . Append ( $ "> **`Count: `** { _profileManager . Profiles . Count } \n ") ;
66
+ sb . Append ( $ "> **`Count: `** { _profileManager . Profiles . Count } \n ") ;
67
67
foreach ( var profile in _profileManager . Profiles )
68
68
{
69
69
sb . Append ( $ "> > =====\n ") ;
70
- sb . Append ( $ "> > **`{ profile . ToString ( ) , - 29 } `*\n ") ;
71
- sb . Append ( $ "> > **`Name: { profile . Name . Text . Incognify ( ) } `** \n ") ;
72
- sb . Append ( $ "> > **`Type: { profile . ProfileType } `** \n ") ;
73
- sb . Append ( $ "> > **`Character name: { profile . CharacterName . Text . Incognify ( ) } `** \n ") ;
74
- sb . Append ( $ "> > **`Limit to my creatures: { profile . LimitLookupToOwnedObjects } `** \n ") ;
70
+ sb . Append ( $ "> > **`{ profile . ToString ( ) , - 32 } `*\n ") ;
71
+ sb . Append ( $ "> > **`Name: `** { profile . Name . Text . Incognify ( ) } \n ") ;
72
+ sb . Append ( $ "> > **`Type: `** { profile . ProfileType } \n ") ;
73
+ sb . Append ( $ "> > **`Character name: `** { profile . CharacterName . Text . Incognify ( ) } \n ") ;
74
+ sb . Append ( $ "> > **`Limit to my creatures: `** { profile . LimitLookupToOwnedObjects } \n ") ;
75
75
sb . Append ( $ "> > **`Templates:`**\n ") ;
76
- sb . Append ( $ "> > > **`Count: { profile . Templates . Count } `** \n ") ;
76
+ sb . Append ( $ "> > > **`Count: `** { profile . Templates . Count } \n ") ;
77
77
foreach ( var template in profile . Templates )
78
78
{
79
- sb . Append ( $ "> > > **`{ template . ToString ( ) } `**\n ") ;
79
+ sb . Append ( $ "> > > **`{ template . ToString ( ) , - 32 } `**\n ") ;
80
80
}
81
81
sb . Append ( $ "> > **`Armatures:`**\n ") ;
82
- sb . Append ( $ "> > > **`Count: { profile . Armatures . Count } `** \n ") ;
82
+ sb . Append ( $ "> > > **`Count: `** { profile . Armatures . Count } \n ") ;
83
83
foreach ( var armature in profile . Armatures )
84
84
{
85
- sb . Append ( $ "> > > **`{ armature . ToString ( ) } `**\n ") ;
85
+ sb . Append ( $ "> > > **`{ armature . ToString ( ) , - 32 } `**\n ") ;
86
86
}
87
87
sb . Append ( $ "> > =====\n ") ;
88
88
}
89
89
sb . AppendLine ( "**Armatures**" ) ;
90
- sb . Append ( $ "> **`Count: `** { _armatureManager . Armatures . Count } \n ") ;
90
+ sb . Append ( $ "> **`Count: `** { _armatureManager . Armatures . Count } \n ") ;
91
91
foreach ( var kvPair in _armatureManager . Armatures )
92
92
{
93
93
var identifier = kvPair . Key ;
94
94
var armature = kvPair . Value ;
95
95
sb . Append ( $ "> > =====\n ") ;
96
- sb . Append ( $ "> > **`{ armature . ToString ( ) , - 29 } `**\n ") ;
97
- sb . Append ( $ "> > **`Actor: { armature . ActorIdentifier . Incognito ( null ) ?? "None" } `**\n ") ;
98
- sb . Append ( $ "> > **`Built: { armature . IsBuilt } `**\n ") ;
99
- sb . Append ( $ "> > **`Visible: { armature . IsVisible } `**\n ") ;
100
- sb . Append ( $ "> > **`Pending rebind: { armature . IsPendingProfileRebind } `**\n ") ;
101
- sb . Append ( $ "> > **`Last seen: { armature . LastSeen } `**\n ") ;
102
- sb . Append ( $ "> > **`Profile: { armature . Profile ? . ToString ( ) ?? "None" } `**\n ") ;
103
- sb . Append ( $ "> > **`Main Root Bone/Total Bones/Partial Skeleton Count: { armature . MainRootBone } /{ armature . TotalBoneCount } /{ armature . PartialSkeletonCount } `**\n ") ;
96
+ sb . Append ( $ "> > **`{ armature . ToString ( ) , - 32 } `**\n ") ;
97
+ sb . Append ( $ "> > **`Actor: `** { armature . ActorIdentifier . Incognito ( null ) ?? "None" } \n ") ;
98
+ sb . Append ( $ "> > **`Built: `** { armature . IsBuilt } \n ") ;
99
+ sb . Append ( $ "> > **`Visible: `** { armature . IsVisible } \n ") ;
100
+ sb . Append ( $ "> > **`Pending rebind: `** { armature . IsPendingProfileRebind } \n ") ;
101
+ sb . Append ( $ "> > **`Last seen: `** { armature . LastSeen } \n ") ;
102
+ sb . Append ( $ "> > **`Profile: `** { armature . Profile ? . ToString ( ) ?? "None" } \n ") ;
104
103
sb . Append ( $ "> > **`Bone template bindings:`**\n ") ;
105
104
foreach ( var bindingKvPair in armature . BoneTemplateBinding )
106
105
{
@@ -128,7 +127,7 @@ private void GatherRelevantPlugins(StringBuilder sb)
128
127
foreach ( var plugin in relevantPlugins )
129
128
{
130
129
if ( plugins . TryGetValue ( plugin , out var data ) )
131
- sb . Append ( $ "> **`{ data . Name + ':' , - 29 } `** { data . Version } { ( data . IsLoaded ? string . Empty : " (Disabled)" ) } \n ") ;
130
+ sb . Append ( $ "> **`{ data . Name + ':' , - 32 } `** { data . Version } { ( data . IsLoaded ? string . Empty : " (Disabled)" ) } \n ") ;
132
131
}
133
132
}
134
133
}
0 commit comments