Skip to main content

IGameUserRestartDataMethods

Trait IGameUserRestartDataMethods 

Source
pub trait IGameUserRestartDataMethods: IGameUserRestartData {
    // Provided methods
    fn get_stream(
        self,
        target: impl Into<GameUserRestartData_Targtes>,
    ) -> GameUserRestartData_RestartStream { ... }
    fn on_create(self) { ... }
    fn on_dispose(self) { ... }
    fn get_version(self) -> i32 { ... }
    fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
    fn on_deserialize(
        self,
        stream: impl Into<Stream_2>,
        version: impl Into<i32>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_stream( self, target: impl Into<GameUserRestartData_Targtes>, ) -> GameUserRestartData_RestartStream

GetStream(crate::app::gameuserrestartdata::GameUserRestartData_Targtes) overload

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IGameUserRestartData> IGameUserRestartDataMethods for __T

Available on crate feature app-gameuserrestartdata only.