Ejemplo n.º 1
0
        private void Events_OnBarricadeTransformed(BarricadeData data, BarricadeDrop drop)
        {
            var @event =
                new UnturnedBarricadeTransformedEvent(new UnturnedBarricadeBuildable(data, drop));

            Emit(@event);
        }
Ejemplo n.º 2
0
        private void Events_OnBarricadeTransformed(BarricadeDrop drop)
        {
            var player = GetUnturnedPlayer(s_CurrentTransformingPlayer);

            var @event = new UnturnedBarricadeTransformedEvent(new UnturnedBarricadeBuildable(drop), player);

            Emit(@event);
        }