コード例 #1
0
ファイル: LookAtPacket.cs プロジェクト: xSlayper/sharpot
        public static LookAtPacket Parse(NetworkMessage message)
        {
            LookAtPacket packet = new LookAtPacket();

            packet.Location      = message.GetLocation();
            packet.Id            = message.GetUInt16();
            packet.StackPosition = message.GetByte();

            return(packet);
        }
コード例 #2
0
ファイル: LookAtPacket.cs プロジェクト: henriqueuller/sharpot
        public static LookAtPacket Parse(NetworkMessage message)
        {
            LookAtPacket packet = new LookAtPacket();

            packet.Location = message.GetLocation();
            packet.Id = message.GetUInt16();
            packet.StackPosition = message.GetByte();

            return packet;
        }