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; }
public DynamicMenuRemoveMessage(DynamicMenu dynamicMenu, string key) { this.DynamicMenu = dynamicMenu; this.Key = key; }