BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Static Protected Member Functions | Properties | List of all members
BrawlCrate.NodeWrappers.GenericWrapper Class Reference
Inheritance diagram for BrawlCrate.NodeWrappers.GenericWrapper:
BrawlCrate.NodeWrappers.BaseWrapper BrawlCrate.NodeWrappers.MultiSelectableWrapper BrawlCrate.NodeWrappers.ADSJWrapper BrawlCrate.NodeWrappers.ARCWrapper BrawlCrate.NodeWrappers.ASLSWrapper BrawlCrate.NodeWrappers.BLOCEntryWrapper BrawlCrate.NodeWrappers.BLOCWrapper BrawlCrate.NodeWrappers.BRESGroupWrapper BrawlCrate.NodeWrappers.BRESWrapper BrawlCrate.NodeWrappers.CHR0EntryWrapper BrawlCrate.NodeWrappers.CHR0Wrapper BrawlCrate.NodeWrappers.CLR0MaterialEntryWrapper BrawlCrate.NodeWrappers.CLR0MaterialWrapper BrawlCrate.NodeWrappers.CLR0Wrapper BrawlCrate.NodeWrappers.CMMWrapper BrawlCrate.NodeWrappers.COSCWrapper BrawlCrate.NodeWrappers.CSSCEntryWrapper BrawlCrate.NodeWrappers.CSSCWrapper BrawlCrate.NodeWrappers.ClassicStageTblWrapper BrawlCrate.NodeWrappers.CollisionObjectWrapper BrawlCrate.NodeWrappers.CollisionWrapper BrawlCrate.NodeWrappers.EFLSEntryWrapper BrawlCrate.NodeWrappers.EFLSWrapper BrawlCrate.NodeWrappers.FCFGWrapper BrawlCrate.NodeWrappers.FolderWrapper BrawlCrate.NodeWrappers.GCAMWrapper BrawlCrate.NodeWrappers.GEG1Wrapper BrawlCrate.NodeWrappers.GIB2Wrapper BrawlCrate.NodeWrappers.GITMWrapper BrawlCrate.NodeWrappers.GSNDWrapper BrawlCrate.NodeWrappers.GWATWrapper BrawlCrate.NodeWrappers.HavokWrapper BrawlCrate.NodeWrappers.ItemFreqWrapper BrawlCrate.NodeWrappers.ItmFreqTableGroupWrapper BrawlCrate.NodeWrappers.ItmFreqTableWrapper BrawlCrate.NodeWrappers.MDL0EntryWrapper BrawlCrate.NodeWrappers.MDL0GroupWrapper BrawlCrate.NodeWrappers.MDL0MaterialRefWrapper BrawlCrate.NodeWrappers.MDL0PolygonWrapper BrawlCrate.NodeWrappers.MDL0Wrapper BrawlCrate.NodeWrappers.MDefActionGroupWrapper BrawlCrate.NodeWrappers.MDefActionListWrapper BrawlCrate.NodeWrappers.MDefActionOverrideListWrapper BrawlCrate.NodeWrappers.MDefEventParameterWrapper BrawlCrate.NodeWrappers.MDefEventWrapper BrawlCrate.NodeWrappers.MDefHurtboxListWrapper BrawlCrate.NodeWrappers.MDefMdlVisGroupWrapper BrawlCrate.NodeWrappers.MDefMdlVisRefWrapper BrawlCrate.NodeWrappers.MDefMdlVisSwitchWrapper BrawlCrate.NodeWrappers.MDefRefListWrapper BrawlCrate.NodeWrappers.MDefSubActionGroupWrapper BrawlCrate.NodeWrappers.MDefSubroutineListWrapper BrawlCrate.NodeWrappers.MDefUneditableWrapper BrawlCrate.NodeWrappers.MDefWrapper BrawlCrate.NodeWrappers.MRGWrapper BrawlCrate.NodeWrappers.MSBinWrapper BrawlCrate.NodeWrappers.MasqueradeEntryWrapper BrawlCrate.NodeWrappers.MasqueradeWrapper BrawlCrate.NodeWrappers.NoEditEntryWrapper BrawlCrate.NodeWrappers.NoEditFolderWrapper BrawlCrate.NodeWrappers.NoEditItemWrapper BrawlCrate.NodeWrappers.PAT0EntryWrapper BrawlCrate.NodeWrappers.PAT0TextureEntryWrapper BrawlCrate.NodeWrappers.PAT0TextureWrapper BrawlCrate.NodeWrappers.PAT0Wrapper BrawlCrate.NodeWrappers.PLT0Wrapper BrawlCrate.NodeWrappers.PluginWrapper BrawlCrate.NodeWrappers.RBNKWrapper BrawlCrate.NodeWrappers.REFFWrapper BrawlCrate.NodeWrappers.REFTImageWrapper BrawlCrate.NodeWrappers.REFTWrapper BrawlCrate.NodeWrappers.RELExternalMethodWrapper BrawlCrate.NodeWrappers.RELInheritanceWrapper BrawlCrate.NodeWrappers.RELMethodWrapper BrawlCrate.NodeWrappers.RELSectionWrapper BrawlCrate.NodeWrappers.RELWrapper BrawlCrate.NodeWrappers.RSARFolderWrapper BrawlCrate.NodeWrappers.RSARSoundWrapper BrawlCrate.NodeWrappers.RSARWrapper BrawlCrate.NodeWrappers.RSEQWrapper BrawlCrate.NodeWrappers.RSTCGroupWrapper BrawlCrate.NodeWrappers.RSTCWrapper BrawlCrate.NodeWrappers.RSTMWrapper BrawlCrate.NodeWrappers.RWSDSoundGroupWrapper BrawlCrate.NodeWrappers.RWSDWrapper BrawlCrate.NodeWrappers.RedirectWrapper BrawlCrate.NodeWrappers.SCLAWrapper BrawlCrate.NodeWrappers.SCN0CameraWrapper BrawlCrate.NodeWrappers.SCN0FogWrapper BrawlCrate.NodeWrappers.SCN0LightWrapper BrawlCrate.NodeWrappers.SCN0Wrapper BrawlCrate.NodeWrappers.SELBWrapper BrawlCrate.NodeWrappers.SELCTeamWrapper BrawlCrate.NodeWrappers.SHP0EntryWrapper BrawlCrate.NodeWrappers.SHP0VertexSetNodeWrapper BrawlCrate.NodeWrappers.SHP0Wrapper BrawlCrate.NodeWrappers.SLTCWrapper BrawlCrate.NodeWrappers.SRT0EntryWrapper BrawlCrate.NodeWrappers.SRT0TextureWrapper BrawlCrate.NodeWrappers.SRT0Wrapper BrawlCrate.NodeWrappers.STEXWrapper BrawlCrate.NodeWrappers.STPMWrapper BrawlCrate.NodeWrappers.SndBgmTitleDataFolderWrapper BrawlCrate.NodeWrappers.StageTableWrapper BrawlCrate.NodeWrappers.Subspace.BGMGWrapper BrawlCrate.NodeWrappers.TBWrapper BrawlCrate.NodeWrappers.TEVStageWrapper BrawlCrate.NodeWrappers.TEX0Wrapper BrawlCrate.NodeWrappers.TLSTWrapper BrawlCrate.NodeWrappers.TPLTextureNodeWrapper BrawlCrate.NodeWrappers.TPLWrapper BrawlCrate.NodeWrappers.TyDataListEntryWrapper BrawlCrate.NodeWrappers.TyDataListWrapper BrawlCrate.NodeWrappers.TySealWrapper BrawlCrate.NodeWrappers.U8FolderWrapper BrawlCrate.NodeWrappers.U8Wrapper BrawlCrate.NodeWrappers.VIS0Wrapper

Public Member Functions

 GenericWrapper (IWin32Window owner)
 
 GenericWrapper ()
 
virtual void Sort ()
 
void MoveUp ()
 
virtual void MoveUp (bool select)
 
void MoveDown ()
 
virtual void MoveDown (bool select)
 
void DeleteSelected ()
 
void ExportSelected ()
 
virtual string Export ()
 
virtual void OnExport (string outPath)
 
virtual void Replace ()
 
virtual void OnReplace (string inStream)
 
void Restore ()
 
virtual void Delete ()
 
void Rename ()
 
virtual ResourceNode Duplicate ()
 
virtual ResourceNode Duplicate (bool changeName)
 
- Public Member Functions inherited from BrawlCrate.NodeWrappers.BaseWrapper
void Link (ResourceNode res)
 
void Unlink ()
 

Static Protected Member Functions

static void MoveUpAction (object sender, EventArgs e)
 
static void MoveDownAction (object sender, EventArgs e)
 
static void ExportAction (object sender, EventArgs e)
 
static void ExportSelectedAction (object sender, EventArgs e)
 
static void DeleteSelectedAction (object sender, EventArgs e)
 
static void DuplicateAction (object sender, EventArgs e)
 
static void ReplaceAction (object sender, EventArgs e)
 
static void RestoreAction (object sender, EventArgs e)
 
static void DeleteAction (object sender, EventArgs e)
 
static void RenameAction (object sender, EventArgs e)
 
static void SortAction (object sender, EventArgs e)
 
- Static Protected Member Functions inherited from BrawlCrate.NodeWrappers.BaseWrapper
static T GetInstance< T > ()
 
static IEnumerable< T > GetInstances< T > ()
 

Properties

virtual ContextMenuStrip MultiSelectMenuStrip [get]
 
virtual string DefaultName [get]
 
virtual string ExportFilter [get]
 
virtual string ImportFilter [get]
 
virtual string ReplaceFilter [get]
 
- Properties inherited from BrawlCrate.NodeWrappers.BaseWrapper
ResourceNode Resource [get]
 
virtual ? Color DefaultBackColor [get]
 
virtual ? Color DefaultForeColor [get]
 
- Properties inherited from BrawlCrate.NodeWrappers.MultiSelectableWrapper
ContextMenuStrip MultiSelectMenuStrip [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from BrawlCrate.NodeWrappers.BaseWrapper
static BaseWrapper[] GetAllNodes (BaseWrapper root)
 
static BaseWrapper Wrap (ResourceNode node)
 
static BaseWrapper Wrap (IWin32Window owner, ResourceNode node)
 
- Static Public Attributes inherited from BrawlCrate.NodeWrappers.BaseWrapper
static IWin32Window _owner
 
- Protected Member Functions inherited from BrawlCrate.NodeWrappers.BaseWrapper
 BaseWrapper ()
 
- Protected Attributes inherited from BrawlCrate.NodeWrappers.BaseWrapper
bool _discovered
 
ResourceNode _resource
 
- Static Protected Attributes inherited from BrawlCrate.NodeWrappers.BaseWrapper
static readonly ContextMenuStrip _emptyMenu = new ContextMenuStrip()
 

Constructor & Destructor Documentation

◆ GenericWrapper() [1/2]

BrawlCrate.NodeWrappers.GenericWrapper.GenericWrapper ( IWin32Window  owner)
inline
170 {
171 _owner = owner;
172 ContextMenuStrip = _menu;
173 }
static IWin32Window _owner
Definition: BaseWrapper.cs:398

◆ GenericWrapper() [2/2]

BrawlCrate.NodeWrappers.GenericWrapper.GenericWrapper ( )
inline
176 {
177 _owner = null;
178 ContextMenuStrip = _menu;
179 }

Member Function Documentation

◆ Delete()

virtual void BrawlCrate.NodeWrappers.GenericWrapper.Delete ( )
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.FolderWrapper.

366 {
367 if (Parent == null)
368 {
369 return;
370 }
371
374 }
ResourceNode _resource
Definition: BaseWrapper.cs:76
virtual void Remove()
Definition: ResourceNode.cs:741
virtual void Dispose()
Definition: ResourceNode.cs:430

◆ DeleteAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.DeleteAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
111 {
112 GetInstance<GenericWrapper>().Delete();
113 }

◆ DeleteSelected()

void BrawlCrate.NodeWrappers.GenericWrapper.DeleteSelected ( )
inline
253 {
255 {
256 if (!(MainForm.Instance.resourceTree.SelectedNodes[0] is GenericWrapper g))
257 {
258 break;
259 }
260
262 g.Delete();
263 }
264 }
Definition: MainForm.cs:34
ResourceTree resourceTree
Definition: MainForm.cs:2418
static MainForm Instance
Definition: MainForm.cs:36
new List< TreeNode > SelectedNodes
Definition: ResourceTree.cs:58

◆ DeleteSelectedAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.DeleteSelectedAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
91 {
92 GetInstance<GenericWrapper>().DeleteSelected();
93 }

◆ Duplicate() [1/2]

virtual ResourceNode BrawlCrate.NodeWrappers.GenericWrapper.Duplicate ( )
inlinevirtual

◆ Duplicate() [2/2]

virtual ResourceNode BrawlCrate.NodeWrappers.GenericWrapper.Duplicate ( bool  changeName)
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.MDL0BoneWrapper, and BrawlCrate.NodeWrappers.MDL0EntryWrapper.

390 {
391 if (_resource.Parent == null)
392 {
393 return null;
394 }
395
396 string tempPath = Path.GetTempFileName();
397 _resource.Export(tempPath);
398 // Initialize node as a child of the parent
400 _resource.GetType());
401
402 if (rNode2 == null)
403 {
404 MessageBox.Show("The node could not be duplicated correctly.", "Error", MessageBoxButtons.OK,
405 MessageBoxIcon.Error);
406 return null;
407 }
408 rNode2._name = "";
409
410 // Remove the node from the parent temporarily
411 rNode2.Remove();
412
413 // Copy ARCEntryNode data, which is contained in the containing ARC, not the node itself
414 if (rNode2 is ARCEntryNode node)
415 {
416 node.FileIndex = ((ARCEntryNode) _resource).FileIndex;
417 node.FileType = ((ARCEntryNode) _resource).FileType;
418 node.GroupID = ((ARCEntryNode) _resource).GroupID;
419 }
420
421 // Copy the name directly in cases where name isn't saved
422 rNode2.Name = _resource.Name;
423 // Set the name programatically (based on Windows' implementation)
424 int index = _resource.Index;
425 int n = 0;
426 if (changeName)
427 {
428 while (_resource.Parent.FindChildrenByName(rNode2.Name).Length >= 1)
429 {
430 // Get the last index of the last duplicated node in order to place it after that one
431 index = Math.Max(index, _resource.Parent.FindChildrenByName(rNode2.Name).Last().Index);
432 // Set the name based on the number of duplicate nodes found
433 rNode2.Name = $"{_resource.Name} ({++n})";
434 }
435 }
436
437 // Place the node in the same containing parent, after the last duplicated node.
438 _resource.Parent.InsertChild(rNode2, true, index + 1);
439
440 // Copy redirect info as necessary
441 if (rNode2 is ARCEntryNode entryNode)
442 {
443 entryNode.RedirectIndex = ((ARCEntryNode) _resource).RedirectIndex;
444 }
445
446 // Update name again in order to refresh things that need refreshing when name is updated
447 rNode2.OnRenamed();
448
449 return rNode2;
450 }
Definition: ARCNode.cs:872
Definition: NodeFactory.cs:18
static ResourceNode FromFile(ResourceNode parent, string path)
Definition: NodeFactory.cs:69
Definition: ResourceNode.cs:129
virtual void Export(string outPath)
Definition: ResourceNode.cs:909
ResourceNode[] FindChildrenByName(string name)
Definition: ResourceNode.cs:1558
virtual void InsertChild(ResourceNode child, int index)
Definition: ResourceNode.cs:774
void OnRenamed()
Definition: ResourceNode.cs:238
ResourceNode Parent
Definition: ResourceNode.cs:245
int Index
Definition: ResourceNode.cs:301
virtual string Name
Definition: ResourceNode.cs:223

◆ DuplicateAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.DuplicateAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
96 {
97 GetInstance<GenericWrapper>().Duplicate();
98 }

◆ Export()

virtual string BrawlCrate.NodeWrappers.GenericWrapper.Export ( )
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.FolderWrapper.

322 {
323 if (Program.SaveFile(ExportFilter, DefaultName, out string outPath))
324 {
325 if (Parent == null)
326 {
327 _resource.Merge(Control.ModifierKeys == (Keys.Control | Keys.Shift));
328 }
329
330 OnExport(outPath);
331 }
332
333 return outPath;
334 }
virtual void OnExport(string outPath)
Definition: GenericWrapper.cs:336
virtual string DefaultName
Definition: GenericWrapper.cs:247
virtual string ExportFilter
Definition: GenericWrapper.cs:248
void Merge()
Definition: ResourceNode.cs:1190

◆ ExportAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.ExportAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
81 {
82 GetInstance<GenericWrapper>().Export();
83 }

◆ ExportSelected()

void BrawlCrate.NodeWrappers.GenericWrapper.ExportSelected ( )
inline
267 {
268 string folder = Program.ChooseFolder();
269 if (string.IsNullOrEmpty(folder))
270 {
271 return;
272 }
273
274 Dictionary<Type, string> extensions = new Dictionary<Type, string>();
275 List<GenericWrapper> nodes = new List<GenericWrapper>();
276 foreach (TreeNode tNode in MainForm.Instance.resourceTree.SelectedNodes)
277 {
278 if (tNode is GenericWrapper g)
279 {
280 nodes.Add(g);
281 if (!extensions.ContainsKey(g._resource.GetType()))
282 {
283 extensions.Add(g._resource.GetType(), g.ExportFilter);
284 }
285 }
286 }
287
288 Dictionary<Type, string> chosenExtensions = new Dictionary<Type, string>();
289 foreach (KeyValuePair<Type, string> ext in extensions)
290 {
291 ExportAllFormatDialog dialog = new ExportAllFormatDialog("Export Selected", ext.Key, ext.Value);
292
293 DialogResult? d = null;
294 if (dialog.AutoSelect || dialog.Valid && (d = dialog.ShowDialog()) == DialogResult.OK)
295 {
296 chosenExtensions.Add(ext.Key, dialog.SelectedExtension);
297 }
298 else if (d != null)
299 {
300 return;
301 }
302 }
303
304 string invalidChars = Regex.Escape(new string(Path.GetInvalidFileNameChars()));
305 string invalidRegStr = string.Format(@"([{0}]*\.+$)|([{0}]+)", invalidChars);
306 foreach (GenericWrapper n in nodes)
307 {
308 chosenExtensions.TryGetValue(n._resource.GetType(), out string ext);
309 if (!string.IsNullOrEmpty(ext) && !ext.StartsWith("."))
310 {
311 ext = ext.Insert(0, ".");
312 }
313
314 n.OnExport($"{folder}\\{Regex.Replace($"{n.DefaultName}{ext ?? ""}", invalidRegStr, "")}");
315 }
316
317 MessageBox.Show($"{nodes.Count} nodes successfully exported to {folder}", "Export Selected");
318 }
string SelectedExtension
Definition: ExportAllAskFormat.cs:31
bool Valid
Definition: ExportAllAskFormat.cs:34
bool AutoSelect
Definition: ExportAllAskFormat.cs:35

◆ ExportSelectedAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.ExportSelectedAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
86 {
87 GetInstance<GenericWrapper>().ExportSelected();
88 }

◆ MoveDown() [1/2]

void BrawlCrate.NodeWrappers.GenericWrapper.MoveDown ( )
inline
219 {
220 MoveDown(true);
221 }
void MoveDown()
Definition: GenericWrapper.cs:218

◆ MoveDown() [2/2]

virtual void BrawlCrate.NodeWrappers.GenericWrapper.MoveDown ( bool  select)
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.MDL0ShaderWrapper, and BrawlCrate.NodeWrappers.TEVStageWrapper.

224 {
225 if (NextVisibleNode == null)
226 {
227 return;
228 }
229
230 if (_resource.MoveDown())
231 {
232 int index = Index + 1;
233 TreeNode parent = Parent;
234 TreeView.BeginUpdate();
235 Remove();
236 parent.Nodes.Insert(index, this);
238 if (select)
239 {
240 TreeView.SelectedNode = this;
241 }
242
243 TreeView.EndUpdate();
244 }
245 }
virtual bool MoveDown()
Definition: ResourceNode.cs:508
virtual void OnMoved()
Definition: ResourceNode.cs:527

◆ MoveDownAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.MoveDownAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
76 {
77 GetInstance<GenericWrapper>().MoveDown();
78 }

◆ MoveUp() [1/2]

void BrawlCrate.NodeWrappers.GenericWrapper.MoveUp ( )
inline
190 {
191 MoveUp(true);
192 }
void MoveUp()
Definition: GenericWrapper.cs:189

◆ MoveUp() [2/2]

virtual void BrawlCrate.NodeWrappers.GenericWrapper.MoveUp ( bool  select)
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.MDL0ShaderWrapper, and BrawlCrate.NodeWrappers.TEVStageWrapper.

195 {
196 if (PrevVisibleNode == null)
197 {
198 return;
199 }
200
201 if (_resource.MoveUp())
202 {
203 int index = Index - 1;
204 TreeNode parent = Parent;
205 TreeView.BeginUpdate();
206 Remove();
207 parent.Nodes.Insert(index, this);
209 if (select)
210 {
211 TreeView.SelectedNode = this;
212 }
213
214 TreeView.EndUpdate();
215 }
216 }
virtual bool MoveUp()
Definition: ResourceNode.cs:489

◆ MoveUpAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.MoveUpAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
71 {
72 GetInstance<GenericWrapper>().MoveUp();
73 }

◆ OnExport()

virtual void BrawlCrate.NodeWrappers.GenericWrapper.OnExport ( string  outPath)
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.U8Wrapper.

337 {
338 _resource.Export(outPath);
339 }

◆ OnReplace()

virtual void BrawlCrate.NodeWrappers.GenericWrapper.OnReplace ( string  inStream)
inlinevirtual

Reimplemented in BrawlCrate.NodeWrappers.REFTImageWrapper, BrawlCrate.NodeWrappers.TEX0Wrapper, and BrawlCrate.NodeWrappers.TPLTextureNodeWrapper.

356 {
357 _resource.Replace(inStream);
358 }
virtual void Replace(string fileName)
Definition: ResourceNode.cs:829

◆ Rename()

void BrawlCrate.NodeWrappers.GenericWrapper.Rename ( )
inline
377 {
378 using (RenameDialog dlg = new RenameDialog())
379 {
381 }
382 }
DialogResult ShowDialog(IWin32Window owner, ResourceNode node)
Definition: RenameDialog.cs:16

◆ RenameAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.RenameAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
116 {
117 GetInstance<GenericWrapper>().Rename();
118 }

◆ Replace()

virtual void BrawlCrate.NodeWrappers.GenericWrapper.Replace ( )
inlinevirtual
342 {
343 if (Parent == null)
344 {
345 return;
346 }
347
348 if (Program.OpenFile(ReplaceFilter, out string inPath))
349 {
350 OnReplace(inPath);
352 }
353 }
void Link(ResourceNode res)
Definition: BaseWrapper.cs:94
virtual string ReplaceFilter
Definition: GenericWrapper.cs:250
virtual void OnReplace(string inStream)
Definition: GenericWrapper.cs:355

◆ ReplaceAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.ReplaceAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
101 {
102 GetInstance<GenericWrapper>().Replace();
103 }

◆ Restore()

void BrawlCrate.NodeWrappers.GenericWrapper.Restore ( )
inline
361 {
363 }
virtual void Restore()
Definition: ResourceNode.cs:706

◆ RestoreAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.RestoreAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
106 {
107 GetInstance<GenericWrapper>().Restore();
108 }

◆ Sort()

virtual void BrawlCrate.NodeWrappers.GenericWrapper.Sort ( )
inlinevirtual
184 {
186 RefreshView(_resource);
187 }
virtual void SortChildren()
Definition: ResourceNode.cs:1756

◆ SortAction()

static void BrawlCrate.NodeWrappers.GenericWrapper.SortAction ( object  sender,
EventArgs  e 
)
inlinestaticprotected
121 {
122 GetInstance<GenericWrapper>().Sort();
123 }

Property Documentation

◆ DefaultName

virtual string BrawlCrate.NodeWrappers.GenericWrapper.DefaultName
get

◆ ExportFilter

virtual string BrawlCrate.NodeWrappers.GenericWrapper.ExportFilter
get

◆ ImportFilter

virtual string BrawlCrate.NodeWrappers.GenericWrapper.ImportFilter
get

◆ MultiSelectMenuStrip

virtual ContextMenuStrip BrawlCrate.NodeWrappers.GenericWrapper.MultiSelectMenuStrip
get

◆ ReplaceFilter

virtual string BrawlCrate.NodeWrappers.GenericWrapper.ReplaceFilter
get

The documentation for this class was generated from the following file: