pub struct SaveRoomSettings {Show 24 fields
pub room_id: LegacyId,
pub name: String,
pub description: String,
pub door_mode: i32,
pub password: String,
pub maximum_visitors: i32,
pub category_id: i32,
pub tags: Vec<String>,
pub trade_mode: i32,
pub allow_pets: bool,
pub allow_food_consume: bool,
pub allow_walk_through: bool,
pub hide_walls: bool,
pub wall_thickness: i32,
pub floor_thickness: i32,
pub who_can_mute: i32,
pub who_can_kick: i32,
pub who_can_ban: i32,
pub chat_mode: i32,
pub chat_bubble_size: i32,
pub chat_scroll_up_frequency: i32,
pub chat_full_hear_range: i32,
pub chat_flood_sensitivity: i32,
pub allow_navigator_dyn_cats: bool,
}
Fields§
§room_id: LegacyId
§name: String
§description: String
§door_mode: i32
§password: String
§maximum_visitors: i32
§category_id: i32
§trade_mode: i32
§allow_pets: bool
§allow_food_consume: bool
§allow_walk_through: bool
§hide_walls: bool
§wall_thickness: i32
§floor_thickness: i32
§who_can_mute: i32
§who_can_kick: i32
§who_can_ban: i32
§chat_mode: i32
§chat_bubble_size: i32
§chat_scroll_up_frequency: i32
§chat_full_hear_range: i32
§chat_flood_sensitivity: i32
Trait Implementations§
source§impl BaseParser for SaveRoomSettings
impl BaseParser for SaveRoomSettings
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 SaveRoomSettings
impl Clone for SaveRoomSettings
source§fn clone(&self) -> SaveRoomSettings
fn clone(&self) -> SaveRoomSettings
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 SaveRoomSettings
impl Debug for SaveRoomSettings
source§impl Default for SaveRoomSettings
impl Default for SaveRoomSettings
source§fn default() -> SaveRoomSettings
fn default() -> SaveRoomSettings
Returns the “default value” for a type. Read more
source§impl PacketVariable for SaveRoomSettings
impl PacketVariable for SaveRoomSettings
source§impl PartialEq<SaveRoomSettings> for SaveRoomSettings
impl PartialEq<SaveRoomSettings> for SaveRoomSettings
source§fn eq(&self, other: &SaveRoomSettings) -> bool
fn eq(&self, other: &SaveRoomSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SaveRoomSettings
Auto Trait Implementations§
impl RefUnwindSafe for SaveRoomSettings
impl Send for SaveRoomSettings
impl Sync for SaveRoomSettings
impl Unpin for SaveRoomSettings
impl UnwindSafe for SaveRoomSettings
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