pub struct GameInfo {
pub max_players: usize,
pub game_id: usize,
pub game_guid: String,
pub world_name: String,
pub game_host_type: usize,
pub pvp: bool,
pub photon_region_override: String,
pub server_password: String,
pub admin_password: String,
}Expand description
CLre game info
Fields§
§max_players: usizeMax allowed player count
game_id: usizeServer world ID
game_guid: StringServer world GUID
world_name: StringWorld name
game_host_type: usizeGame host type
pvp: boolIs PvP enabled?
photon_region_override: StringPhoton server region override
server_password: StringServer password
admin_password: StringAdmin priviledge password
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameInfo
impl<'de> Deserialize<'de> for GameInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GameInfo
impl RefUnwindSafe for GameInfo
impl Send for GameInfo
impl Sync for GameInfo
impl Unpin for GameInfo
impl UnwindSafe for GameInfo
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