예제 #1
0
        public MessagingSteps(World world, MessageAssertions messageAssertions, PerformanceSteps performanceSteps)
        {
            this.world             = world;
            this.messageAssertions = messageAssertions;
            this.performanceSteps  = performanceSteps;

            world.ServerMessageReceived += ServerMessageReceived;
        }
예제 #2
0
        public ConnectingSteps(World world, PerformanceSteps performanceSteps)
        {
            this.world            = world;
            this.performanceSteps = performanceSteps;
#if PRO
            world.ServerJoined += ServerJoined;
            world.ServerLeft   += ServerLeft;
#endif
        }