public void HandleActionFellowshipChangeOpenness(bool openness) { if (Fellowship != null) { Fellowship.UpdateOpenness(openness); } }
public void FellowshipSetOpen(bool openness) { if (Fellowship != null) { Fellowship.UpdateOpenness(openness); } }
public void HandleActionFellowshipChangeOpenness(bool openness) { if (Fellowship != null) { if (!Fellowship.IsLocked) { Fellowship.UpdateOpenness(openness); } else { Session.Network.EnqueueSend(new GameEventWeenieError(Session, WeenieError.FellowshipIsLocked)); } } }
public void HandleActionFellowshipChangeOpenness(bool openness) { if (Fellowship != null) { if (Guid.Full != Fellowship.FellowshipLeaderGuid) { Session.Network.EnqueueSend(new GameEventWeenieError(Session, WeenieError.YouMustBeLeaderOfFellowship)); return; } if (!Fellowship.IsLocked) { Fellowship.UpdateOpenness(openness); } else { Session.Network.EnqueueSend(new GameEventWeenieError(Session, WeenieError.FellowshipIsLocked)); } } }