| 146 | } |
| 147 | |
| 148 | S32 NPCWidget::Off(const zNPCCommon* npc, S32 theman) |
| 149 | { |
| 150 | if (!theman && !this->NPCIsTheLocker(npc)) |
| 151 | { |
| 152 | return 0; |
| 153 | } |
| 154 | |
| 155 | if (npc) |
| 156 | { |
| 157 | this->Unlock(npc); |
| 158 | } |
| 159 | |
| 160 | zEntEvent(this->base_widge, eEventInvisible); |
| 161 | zEntEvent(this->base_widge, eEventUIFocusOff_Unselect); |
| 162 | return 1; |
| 163 | } |
| 164 | |
| 165 | S32 NPCWidget::Unlock(const zNPCCommon* npc) |
| 166 | { |
no test coverage detected