コード例 #1
0
 private void OnStackCountChanged(EntityUid uid, StackComponent component, StackCountChangedEvent args)
 {
     // Dirty the UI now that the stack count has changed.
     component.DirtyUI();
 }
コード例 #2
0
 private void OnStackCountChanged(EntityUid uid, StackComponent component, StackCountChangedEvent args)
 {
     // Dirty the UI now that the stack count has changed.
     component.UiUpdateNeeded = true;
 }