pub struct RoomSettingsData {Show 18 fields
pub room_id: LegacyId,
pub name: String,
pub description: String,
pub door_mode: i32,
pub category_id: i32,
pub maximum_visitors: i32,
pub maximum_visitors_limit: i32,
pub tags: Vec<String>,
pub trade_mode: i32,
pub allow_pets: i32,
pub allow_food_consume: i32,
pub allow_walk_through: i32,
pub hide_walls: i32,
pub wall_thickness: i32,
pub floor_thickness: i32,
pub chat_settings: RoomChatSettings,
pub allow_navigator_dynamic_cats: bool,
pub room_moderation_settings: RoomModerationSettings,
}
Fields§
§room_id: LegacyId
§name: String
§description: String
§door_mode: i32
§category_id: i32
§maximum_visitors: i32
§maximum_visitors_limit: i32
§trade_mode: i32
§allow_pets: i32
§allow_food_consume: i32
§allow_walk_through: i32
§hide_walls: i32
§wall_thickness: i32
§floor_thickness: i32
§chat_settings: RoomChatSettings
§room_moderation_settings: RoomModerationSettings
Trait Implementations§
source§impl BaseParser for RoomSettingsData
impl BaseParser for RoomSettingsData
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for RoomSettingsData
impl Clone for RoomSettingsData
source§fn clone(&self) -> RoomSettingsData
fn clone(&self) -> RoomSettingsData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RoomSettingsData
impl Debug for RoomSettingsData
source§impl Default for RoomSettingsData
impl Default for RoomSettingsData
source§fn default() -> RoomSettingsData
fn default() -> RoomSettingsData
Returns the “default value” for a type. Read more
source§impl PacketVariable for RoomSettingsData
impl PacketVariable for RoomSettingsData
source§impl PartialEq<RoomSettingsData> for RoomSettingsData
impl PartialEq<RoomSettingsData> for RoomSettingsData
source§fn eq(&self, other: &RoomSettingsData) -> bool
fn eq(&self, other: &RoomSettingsData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoomSettingsData
Auto Trait Implementations§
impl RefUnwindSafe for RoomSettingsData
impl Send for RoomSettingsData
impl Sync for RoomSettingsData
impl Unpin for RoomSettingsData
impl UnwindSafe for RoomSettingsData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more