SkinMgr.getOriginalSkin (proto, name)
function gets the original skin

  • Parameter String:
    name of the prototype
  • Parameter String:
    name of the skin
  • Returns
    Skin the original skin
Sourcecode in SkinMgr/objectFunctions.js:
1:   function getOriginalSkin(proto, name) {
2:      if (this._parent.parent) {
3:         var handler = this._parent;
4:         var s;
5:         while ((handler = handler.parent) != null) {
6:            if ((s = handler.skins.getSkin(proto, name)) != null)
7:               return s;
8:         }
9:      }
10:     return null;
11:  }