Ejemplo n.º 1
0
 public abstract void OnAppStart(NetServer server);
Ejemplo n.º 2
0
        public override void OnAppStart(NetServer netServer)
        {
            Log.startLogging(REALTIME);
            Log.startLogging(REALTIME_DEBUG);
            Log.startLogging(RealtimeMatch.MATCHLOG);
            //Log.startLogging(RealtimeMatch.MATCHLOG_DEBUG);

            Log.log(REALTIME, "************************* Realtime Starting *************************");

            mNetServer = netServer;

            mRooms.Clear();
            mMatches.Clear();

            for (int c = 0; c < NUM_ROOMS; c++)
            {
                mRooms.Add(new Room(GetRoomNameByID(c)));
            }

            mSecondsCount = 0;
        }