Skip to main content

IGodBondHolderPoolMethods

Trait IGodBondHolderPoolMethods 

Source
pub trait IGodBondHolderPoolMethods: IGodBondHolderPool {
    // Provided methods
    fn ctor(self) { ... }
    fn get_version(self) -> i32 { ... }
    fn create_or_get(self, data: impl Into<GodData>) -> GodBondHolder { ... }
    fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
    fn on_deserialize(
        self,
        stream: impl Into<Stream_2>,
        version: impl Into<i32>,
    ) { ... }
    fn serialize_for_rewind_latest(
        self,
        stream: impl Into<Stream_2>,
        exclude_pids: impl Into<HashSet_1<Il2CppString>>,
    ) { ... }
    fn deserialize_for_rewind_latest(self, stream: impl Into<Stream_2>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn create_or_get(self, data: impl Into<GodData>) -> GodBondHolder

CreateOrGet(crate::app::goddata::GodData) 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 serialize_for_rewind_latest( self, stream: impl Into<Stream_2>, exclude_pids: impl Into<HashSet_1<Il2CppString>>, )

SerializeForRewindLatest(crate::app::stream_2::Stream_2, crate::system::collections::generic::hashset_1::HashSet_1<::unity::Il2CppString>) overload

Source

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

DeserializeForRewindLatest(crate::app::stream_2::Stream_2) 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: IGodBondHolderPool> IGodBondHolderPoolMethods for __T

Available on crate feature app-godbondholderpool only.