public void Activated(int pinID) { switch (pinID) { case 0: this.Initialize(); break; case 1: this.RefreshTrophyDatas(); TrophyList componentInChildren = (TrophyList)((Component)this).GetComponentInChildren <TrophyList>(); if (!Object.op_Inequality((Object)componentInChildren, (Object)null)) { break; } componentInChildren.RefreshLight(); break; } }