Exemplo n.º 1
0
 public void UpdateView(tanks.modules.lobby.ClientGarage.Scripts.API.UI.Items.ModuleItem moduleItem)
 {
     this.moduleItem = moduleItem;
     this.moduleCard3D.UpdateView(moduleItem.MarketItem.Id, -1L, true, true);
     this.UpdateHighlight();
     this.tooltip.SetCustomContentData(moduleItem);
 }
Exemplo n.º 2
0
 public void Init(tanks.modules.lobby.ClientGarage.Scripts.API.UI.Items.ModuleItem moduleItem)
 {
     this.moduleItem                = moduleItem;
     this.moduleIcon.SpriteUid      = moduleItem.CardSpriteUid;
     this.interactive.moduleItem    = moduleItem;
     this.interactive.onClick       = () => this.onClick(this);
     this.interactive.onDoubleClick = () => this.onDoubleClick(this);
     base.tooltip.SetCustomContentData(moduleItem);
     this.UpdateView();
 }