Beispiel #1
0
 public AddDynamicMenuMessage(DynamicMenu dynamicMenu, string key, string name, [CanBeNull] string textureKey, object instance, bool isItem = false)
 {
     this.DynamicMenu = dynamicMenu;
     this.Key         = key;
     this.Name        = name;
     this.TextureKey  = textureKey;
     this.Instance    = instance;
     this.IsItem      = isItem;
 }
Beispiel #2
0
 public DynamicMenuRemoveMessage(DynamicMenu dynamicMenu, string key)
 {
     this.DynamicMenu = dynamicMenu;
     this.Key         = key;
 }