Remove old files that have been moved to modular structure
This commit is contained in:
-1006
File diff suppressed because it is too large
Load Diff
@@ -1,24 +0,0 @@
|
||||
use steamworks::{
|
||||
sys::{SteamAPI_ISteamInventory_TriggerItemDrop, SteamAPI_SteamInventory_v003},
|
||||
AppId, Client, SingleClient,
|
||||
};
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub struct Steam {
|
||||
client: Client,
|
||||
single: SingleClient,
|
||||
}
|
||||
|
||||
impl Steam {
|
||||
pub fn new() -> Self {
|
||||
let (client, single) = Client::init_app(AppId(1430270)).unwrap();
|
||||
Self { client, single }
|
||||
}
|
||||
|
||||
pub fn drop_item(&self) {
|
||||
unsafe {
|
||||
let mut r = 0;
|
||||
SteamAPI_ISteamInventory_TriggerItemDrop(SteamAPI_SteamInventory_v003(), &mut r, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user