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); } }