BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Properties | List of all members
BrawlLib.BrawlManagerLib.TextureContainer Class Reference
Inheritance diagram for BrawlLib.BrawlManagerLib.TextureContainer:

Classes

class  Texture
 

Public Member Functions

IEnumerator< TEX0NodeGetEnumerator ()
 
 TextureContainer ()
 
 TextureContainer (ResourceNode node, int iconNum)
 Finds the textures through their PAT0 entries, given an icon number and a ResourceNode More...
 

Public Attributes

Texture prevbase
 
Texture icon
 
Texture frontstname
 
Texture frontstname_shadow
 
Texture seriesicon
 
Texture selmap_mark
 
Texture line
 

Properties

TEX0Node prevbase_tex0 [get]
 
TEX0Node icon_tex0 [get]
 
TEX0Node frontstname_tex0 [get]
 
TEX0Node seriesicon_tex0 [get]
 
TEX0Node selmap_mark_tex0 [get]
 
PAT0TextureEntryNode prevbase_pat0 [get]
 
PAT0TextureEntryNode icon_pat0 [get]
 
PAT0TextureEntryNode frontstname_pat0 [get]
 
PAT0TextureEntryNode seriesicon_pat0 [get]
 
PAT0TextureEntryNode selmap_mark_pat0 [get]
 
ResourceNode TEX0Folder [get]
 

Constructor & Destructor Documentation

◆ TextureContainer() [1/2]

BrawlLib.BrawlManagerLib.TextureContainer.TextureContainer ( )
inline
55 {
56 }

◆ TextureContainer() [2/2]

BrawlLib.BrawlManagerLib.TextureContainer.TextureContainer ( ResourceNode  node,
int  iconNum 
)
inline

Finds the textures through their PAT0 entries, given an icon number and a ResourceNode

Parameters
sc_selmapThe sc_selmap or Misc Data [80] node.
iconNumThe icon index (also used in the third part of the Custom SSS code.)
64 {
65 TEX0Folder = node.FindChild("Misc Data [80]/Textures(NW4R)", false)
66 ?? node.FindChild("Textures(NW4R)", false);
67 PAT0Folder = node.FindChild("Misc Data [80]/AnmTexPat(NW4R)", false)
68 ?? node.FindChild("AnmTexPat(NW4R)", false);
69 this.iconNum = iconNum;
70
71 populate(out prevbase, "MenSelmapPreview/basebgM");
72 populate(out icon, "MenSelmapIcon/iconM");
73 populate(out frontstname, "MenSelmapPreview/pasted__stnameM");
74 populate(out frontstname_shadow, "MenSelmapPreview/pasted__stnameshadowM");
75 populate(out seriesicon, "MenSelmapPreview/lambert113");
76 populate(out selmap_mark, "MenSelmapPreview/pasted__stnamelogoM");
77 populate(out line, "MenSelmapPreview/base_vertexcolorM1");
78 }
Texture selmap_mark
Definition: TextureContainer.cs:21
Texture icon
Definition: TextureContainer.cs:17
Texture frontstname
Definition: TextureContainer.cs:18
Texture line
Definition: TextureContainer.cs:22
Texture prevbase
Definition: TextureContainer.cs:16
ResourceNode TEX0Folder
Definition: TextureContainer.cs:39
Texture frontstname_shadow
Definition: TextureContainer.cs:19
Texture seriesicon
Definition: TextureContainer.cs:20
ResourceNode FindChild(string path)
Definition: ResourceNode.cs:1342

Member Function Documentation

◆ GetEnumerator()

IEnumerator< TEX0Node > BrawlLib.BrawlManagerLib.TextureContainer.GetEnumerator ( )
inline
44 {
45 return new List<TEX0Node> {prevbase.tex0, icon.tex0, frontstname.tex0, seriesicon.tex0, selmap_mark.tex0}
46 .GetEnumerator();
47 }
TEX0Node tex0
Definition: TextureContainer.cs:11

Member Data Documentation

◆ frontstname

Texture BrawlLib.BrawlManagerLib.TextureContainer.frontstname

◆ frontstname_shadow

Texture BrawlLib.BrawlManagerLib.TextureContainer.frontstname_shadow

◆ icon

Texture BrawlLib.BrawlManagerLib.TextureContainer.icon

◆ line

Texture BrawlLib.BrawlManagerLib.TextureContainer.line

◆ prevbase

Texture BrawlLib.BrawlManagerLib.TextureContainer.prevbase

◆ selmap_mark

Texture BrawlLib.BrawlManagerLib.TextureContainer.selmap_mark

◆ seriesicon

Texture BrawlLib.BrawlManagerLib.TextureContainer.seriesicon

Property Documentation

◆ frontstname_pat0

PAT0TextureEntryNode BrawlLib.BrawlManagerLib.TextureContainer.frontstname_pat0
get

◆ frontstname_tex0

TEX0Node BrawlLib.BrawlManagerLib.TextureContainer.frontstname_tex0
get

◆ icon_pat0

PAT0TextureEntryNode BrawlLib.BrawlManagerLib.TextureContainer.icon_pat0
get

◆ icon_tex0

TEX0Node BrawlLib.BrawlManagerLib.TextureContainer.icon_tex0
get

◆ prevbase_pat0

PAT0TextureEntryNode BrawlLib.BrawlManagerLib.TextureContainer.prevbase_pat0
get

◆ prevbase_tex0

TEX0Node BrawlLib.BrawlManagerLib.TextureContainer.prevbase_tex0
get

◆ selmap_mark_pat0

PAT0TextureEntryNode BrawlLib.BrawlManagerLib.TextureContainer.selmap_mark_pat0
get

◆ selmap_mark_tex0

TEX0Node BrawlLib.BrawlManagerLib.TextureContainer.selmap_mark_tex0
get

◆ seriesicon_pat0

PAT0TextureEntryNode BrawlLib.BrawlManagerLib.TextureContainer.seriesicon_pat0
get

◆ seriesicon_tex0

TEX0Node BrawlLib.BrawlManagerLib.TextureContainer.seriesicon_tex0
get

◆ TEX0Folder

ResourceNode BrawlLib.BrawlManagerLib.TextureContainer.TEX0Folder
get
39{ get; private set; }

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