#[repr(C, packed(1))]pub struct ShopInfo {
pub id: u32,
pub name: PaddedString<MAX_NAME_LENGTH>,
pub owner_id: u32,
pub goods_count: u32,
pub goods: [ShopGoodInfo; 12],
}Expand description
State for a single shop available on the map.
Fields§
§id: u32Game-internal shop ID.
name: PaddedString<MAX_NAME_LENGTH>Display name.
owner_id: u32Not sure what this is.
goods_count: u32Number of valid entries in Self::goods.
goods: [ShopGoodInfo; 12]Goods offered by the shop.
Auto Trait Implementations§
impl Freeze for ShopInfo
impl RefUnwindSafe for ShopInfo
impl Send for ShopInfo
impl Sync for ShopInfo
impl Unpin for ShopInfo
impl UnsafeUnpin for ShopInfo
impl UnwindSafe for ShopInfo
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