public override void initGr(GRBaseImpls grBase, LGGRBaseImpls sctrl) { if (grBase is GRAvatar) { grAvatar = grBase as GRAvatar; } if (sctrl is LGGRAvatar) { lggrAvatar = sctrl as LGGRAvatar; } }
public override void initGr(GRBaseImpls grBase, LGGRBaseImpls sctrl) { bool flag = grBase is GRAvatar; if (flag) { this.grAvatar = (grBase as GRAvatar); } bool flag2 = sctrl is LGGRAvatar; if (flag2) { this.lggrAvatar = (sctrl as LGGRAvatar); } }
public void onGrLoaded(GRAvatar gr) { foreach (string current in this.dCacheEffect.Keys) { this.addEffect(current, this.dCacheEffect[current], false); } this.dCacheEffect.Clear(); bool flag = this.grLoadedhandle != null && !base.destroy; if (flag) { this.grLoadedhandle(this); this.grLoadedhandle = null; } }
public void clear() { _avatar = null; }
public void clear() { this._avatar = null; }