void OnUpdateWaitingForStart(int current_time_int)
        {
            int delta_ms = current_time_int - m_last_update_time;

            m_render_world.OnUpdate(delta_ms, current_time_int);
            m_last_update_time = current_time_int;
            NetworkMessages_LoadingComplete msg = new NetworkMessages_LoadingComplete();

            msg.PlayerPstid = m_local_player_pstid;
            m_network.SendToServer(msg);
        }
Exemple #2
0
        public void OnNetworkMessage_PlayerLoadingComplete(NetworkMessages_LoadingComplete msg)
        {
            long       player_Pstid = msg.PlayerPstid;
            PlayerData pd;

            if (!m_players.TryGetValue(player_Pstid, out pd))
            {
                return;
            }
            pd.m_loaded = true;
            CheckAllLoaded();
        }