void PickUpItem() { Monitor.Enter(KBEngineApp.app.entities); KBEngine.Avatar player = (KBEngine.Avatar)KBEngineApp.app.player(); player.pickUpRequest(seo.kbentity.id); Monitor.Exit(KBEngineApp.app.entities); }