Beispiel #1
0
        public void EnterState(Player.Player player)
        {
            // Send a connection acknowledgement to inform the client of the flplayerid.
            {
                // FLPACKET_SERVER_CONNECTRESPONSE
                byte[] omsg = {0x01, 0x02};
                FLMsgType.AddUInt32(ref omsg, player.FLPlayerID);
                player.SendMsgToClient(omsg);
            }

            player.SendMiscObjUpdate(Player.Player.MiscObjUpdateType.NEWS, player.Runner.Server.server_news);
        }