Skip to main content

scs_sdk/
lib.rs

1#![no_std]
2#![deny(clippy::cast_possible_truncation, clippy::cast_sign_loss)]
3#![cfg_attr(
4    not(test),
5    deny(
6        clippy::expect_used,
7        clippy::panic,
8        clippy::todo,
9        clippy::unimplemented,
10        clippy::unreachable,
11        clippy::unwrap_used
12    )
13)]
14
15mod api;
16mod channel;
17pub mod configuration;
18mod descriptor;
19mod error;
20mod event;
21pub mod game;
22pub mod gameplay;
23mod index;
24pub mod input;
25mod value;
26mod version;
27
28pub use api::{LogLevel, ScopedLogger, SdkCall, TelemetryApi, TelemetrySession};
29pub use channel::{AnyChannel, Channel, ChannelFlags, ChannelValue, channels};
30pub use descriptor::{
31    AnyAttribute, Attribute, ConfigurationAttributeAssociation, ConfigurationId,
32    GameSchemaAvailability, GameplayAttributeAssociation, GameplayEventId,
33};
34pub use error::{SdkError, SdkResult};
35pub use event::{
36    ConfigurationRef, Event, FrameStartRef, GameplayEventRef, NamedValueRef, NamedValues,
37};
38pub use index::{SdkIndex, TrailerConfigurationId, TrailerIndex};
39pub use value::{
40    DPlacement, DVector, Euler, FPlacement, FVector, SdkValue, StringValue, UnknownStringValue,
41    ValueRef, ValueType,
42};
43pub use version::{GameSchemaVersion, TelemetryApiVersion};
44pub use version::{InputApiVersion, InputGameVersion};
45
46pub use scs_sdk_sys as sys;