EnterStall() 공개 정적인 메소드

public static EnterStall ( int CharacterID, stall stall ) : byte[]
CharacterID int
stall stall
리턴 byte[]
예제 #1
0
파일: Stall.cs 프로젝트: uvbs/DarkEmu
        public void EnterStall()
        {
            try
            {
                if (Character.Information.Scroll)
                {
                    return;
                }
                PacketReader Reader  = new PacketReader(PacketInformation.buffer);
                Systems      staller = GetPlayer(Reader.Int32());

                Character.Network.Stall = staller.Character.Network.Stall;

                staller.Character.Network.Stall.Members.Add(Character.Information.UniqueID);
                staller.Character.Network.Stall.MembersClient.Add(this.client);

                client.Send(Packet.EnterStall(Character.Information.UniqueID, staller.Character.Network.Stall));

                staller.Character.Network.Stall.Send(Packet.StallPlayerUpdate(Character.Information.UniqueID, 2), this.client);
                Character.Stall.Stallactive = true;
            }
            catch (Exception ex)
            {
                Systems.Debugger.Write(ex);
            }
        }