The enchanting packet is sent by a client (cClientHandle); that client has an associated cPlayer object (m_Player, GetPlayer()), that is the player you are searching for.
You should drop a note in the GitHub issue tracker that you're working on this: https://github.com/mc-server/MCServer/issues/32
You should drop a note in the GitHub issue tracker that you're working on this: https://github.com/mc-server/MCServer/issues/32