(exitName string, lockIt bool)
| 346 | } |
| 347 | |
| 348 | func (r ScriptRoom) SetLocked(exitName string, lockIt bool) { |
| 349 | |
| 350 | if exitInfo, ok := r.roomRecord.GetExitInfo(exitName); ok { |
| 351 | |
| 352 | if exitInfo.HasLock() { |
| 353 | r.roomRecord.SetExitLock(exitName, lockIt) |
| 354 | } |
| 355 | |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | // Returns a list of userIds found to have the questId |
| 360 | // if userIdParty is specified, will only check users in the party of the user. |
no test coverage detected