private LocalBuilder BuildVisualContainer(IVisualContainer visualContainer, ILGenerator il) { var cType = visualContainer.GetType(); var pnlLocalVar = Construct(cType, il); var addChildMeth = cType.GetMethod( nameof(IVisualContainer.AddChild)); if (addChildMeth == null) { throw new InvalidOperationException("Can't add child to " + cType); } //foreach (var child in visualContainer.Children) visualContainer.Children.RunOnEachChild(child => { var childLocalVar = Reconstruct(child, il); il.Emit(OpCodes.Ldloc, pnlLocalVar); il.Emit(OpCodes.Ldloc, childLocalVar); il.Emit(OpCodes.Callvirt, addChildMeth); }); return(pnlLocalVar); }
public TapPointsMergingAnimation([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public ComboText([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public AvatarDisplay([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public CuteIdol([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { Visible = false; }
public MiniCube([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public MltdStageScalingResponder([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public RibbonsLayer([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public SongTitle([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public MltdStage([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
protected BackgroundBase([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public VisualContainer([NotNull] BaseGame game, [CanBeNull] IVisualContainer parent) : base(game, parent) { Components = new BaseGameComponentCollection(this); }
protected BufferedVisual([NotNull] BaseGame game, [CanBeNull] IVisualContainer parent) : base(game, parent) { }
public FpsOverlay([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public BackgroundImage([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public SlideMotion([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
protected TextOverlayBase([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public OutlinedTextOverlay([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public TapPoints([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }
public TrackDisplay([NotNull] BaseGame game, [CanBeNull] IVisualContainer parent) : base(game, parent) { }
public HitRankAnimation([NotNull] BaseGame game, [NotNull] IVisualContainer parent) : base(game, parent) { }