예제 #1
0
 public void SetProfile(JsonData.SimplifiedPlayerInfo info)
 {
     uIPlayerProfileHead.SetPlayer(info);
     if (info.VIPLevel == 0)
     {
         if (crownSwitch.Value)
         {
             crownSwitch.Switch();
         }
         crownSwitch.Enabled = false;
     }
     else
     {
         crownSwitch.Enabled = true;
     }
 }
예제 #2
0
        //private void RefreshButton_OnClick(UIMouseEvent evt, UIElement listeningElement)
        //{
        //	RefreshFriends();
        //}

        public void SetProfile(JsonData.SimplifiedPlayerInfo info)
        {
            uIPlayerProfileHead.SetPlayer(info);
        }