public void OnPlayroomCreationRequestRejectedByPlayerService(PlayroomCreationRequestRejected e) { if (CreationState != PlayroomCreationState.CreationPending) throw new DXGameException("playroom_is_not_pending_to_be_created"); ApplyEvent(e); }
public void Apply(PlayroomCreationRequestRejected e) { CreationState = PlayroomCreationState.CreationRejected; }