pub trait IGameVariableMethods: IGameVariable {
Show 41 methods
// Provided methods
fn ctor(self, capacity: impl Into<i32>) { ... }
fn get_count(self) -> i32 { ... }
fn get_capacity(self) -> i32 { ... }
fn can_rwind(self, key: impl Into<Il2CppString>) -> bool { ... }
fn entry(self, key: impl Into<Il2CppString>, num: impl Into<i32>) -> bool { ... }
fn entry_2(
self,
key: impl Into<Il2CppString>,
str: impl Into<Il2CppString>,
) -> bool { ... }
fn entry_no_rewind(
self,
key: impl Into<Il2CppString>,
num: impl Into<i32>,
) -> bool { ... }
fn entry_no_rewind_2(
self,
key: impl Into<Il2CppString>,
str: impl Into<Il2CppString>,
) -> bool { ... }
fn entry_impl(
self,
key: impl Into<Il2CppString>,
value: impl Into<GameVariable_Value>,
rewindable: impl Into<bool>,
) { ... }
fn remove(self, key: impl Into<Il2CppString>) -> bool { ... }
fn remove_impl(self, key: impl Into<Il2CppString>) { ... }
fn get(self, key: impl Into<Il2CppString>) -> i32 { ... }
fn is_string(self, key: impl Into<Il2CppString>) -> bool { ... }
fn get_number(self, key: impl Into<Il2CppString>) -> i32 { ... }
fn get_bool(self, key: impl Into<Il2CppString>) -> bool { ... }
fn try_get_bool(self, key: impl Into<Il2CppString>) -> bool { ... }
fn get_string(self, key: impl Into<Il2CppString>) -> Il2CppString { ... }
fn try_get(self, key: impl Into<Il2CppString>, empty: impl Into<i32>) -> i32 { ... }
fn try_get_2(self, key: impl Into<Il2CppString>) -> (bool, i32) { ... }
fn set(self, key: impl Into<Il2CppString>, enable: impl Into<bool>) { ... }
fn set_2(self, key: impl Into<Il2CppString>, num: impl Into<i32>) { ... }
fn set_3(self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>) { ... }
fn set_number(self, key: impl Into<Il2CppString>, num: impl Into<i32>) { ... }
fn set_string(
self,
key: impl Into<Il2CppString>,
str: impl Into<Il2CppString>,
) { ... }
fn add(
self,
key: impl Into<Il2CppString>,
count: impl Into<i32>,
min: impl Into<i32>,
max: impl Into<i32>,
) -> i32 { ... }
fn clear_all(self) { ... }
fn clear_local(self) { ... }
fn clear_chapter(self) { ... }
fn clear_hub(self) { ... }
fn clear_starts_with(self, name: impl Into<Il2CppString>) { ... }
fn find_starts_with(
self,
name: impl Into<Il2CppString>,
) -> List_1<Il2CppString> { ... }
fn clear_keys(self, keys: impl Into<List_1<Il2CppString>>) { ... }
fn is_exist(self, key: impl Into<Il2CppString>) -> bool { ... }
fn serialize(self, stream: impl Into<Stream_2>) { ... }
fn deserialize(self, stream: impl Into<Stream_2>) { ... }
fn serialize_key_value(
self,
stream: impl Into<Stream_2>,
key_value: impl Into<KeyValuePair_2<Il2CppString, GameVariable_Value>>,
) { ... }
fn deserialize_key_value(self, stream: impl Into<Stream_2>) { ... }
fn serialize_for_online(self, stream: impl Into<Stream_2>) { ... }
fn deserialize_for_online(self, stream: impl Into<Stream_2>) { ... }
fn find_keys(self, header: impl Into<Il2CppString>) -> List_1<Il2CppString> { ... }
fn get_name(self, key: impl Into<Il2CppString>) -> Il2CppString { ... }
}Provided Methods§
Sourcefn get_capacity(self) -> i32
fn get_capacity(self) -> i32
get_Capacity() overload
Sourcefn can_rwind(self, key: impl Into<Il2CppString>) -> bool
fn can_rwind(self, key: impl Into<Il2CppString>) -> bool
CanRwind(::unity::Il2CppString) overload
Sourcefn entry(self, key: impl Into<Il2CppString>, num: impl Into<i32>) -> bool
fn entry(self, key: impl Into<Il2CppString>, num: impl Into<i32>) -> bool
Entry(::unity::Il2CppString, i32) overload
Sourcefn entry_2(
self,
key: impl Into<Il2CppString>,
str: impl Into<Il2CppString>,
) -> bool
fn entry_2( self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>, ) -> bool
Entry(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn entry_no_rewind(
self,
key: impl Into<Il2CppString>,
num: impl Into<i32>,
) -> bool
fn entry_no_rewind( self, key: impl Into<Il2CppString>, num: impl Into<i32>, ) -> bool
EntryNoRewind(::unity::Il2CppString, i32) overload
Sourcefn entry_no_rewind_2(
self,
key: impl Into<Il2CppString>,
str: impl Into<Il2CppString>,
) -> bool
fn entry_no_rewind_2( self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>, ) -> bool
EntryNoRewind(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn entry_impl(
self,
key: impl Into<Il2CppString>,
value: impl Into<GameVariable_Value>,
rewindable: impl Into<bool>,
)
fn entry_impl( self, key: impl Into<Il2CppString>, value: impl Into<GameVariable_Value>, rewindable: impl Into<bool>, )
EntryImpl(::unity::Il2CppString, crate::app::gamevariable::GameVariable_Value, bool) overload
Sourcefn remove(self, key: impl Into<Il2CppString>) -> bool
fn remove(self, key: impl Into<Il2CppString>) -> bool
Remove(::unity::Il2CppString) overload
Sourcefn remove_impl(self, key: impl Into<Il2CppString>)
fn remove_impl(self, key: impl Into<Il2CppString>)
RemoveImpl(::unity::Il2CppString) overload
Sourcefn get(self, key: impl Into<Il2CppString>) -> i32
fn get(self, key: impl Into<Il2CppString>) -> i32
Get(::unity::Il2CppString) overload
Sourcefn is_string(self, key: impl Into<Il2CppString>) -> bool
fn is_string(self, key: impl Into<Il2CppString>) -> bool
IsString(::unity::Il2CppString) overload
Sourcefn get_number(self, key: impl Into<Il2CppString>) -> i32
fn get_number(self, key: impl Into<Il2CppString>) -> i32
GetNumber(::unity::Il2CppString) overload
Sourcefn get_bool(self, key: impl Into<Il2CppString>) -> bool
fn get_bool(self, key: impl Into<Il2CppString>) -> bool
GetBool(::unity::Il2CppString) overload
Sourcefn try_get_bool(self, key: impl Into<Il2CppString>) -> bool
fn try_get_bool(self, key: impl Into<Il2CppString>) -> bool
TryGetBool(::unity::Il2CppString) overload
Sourcefn get_string(self, key: impl Into<Il2CppString>) -> Il2CppString
fn get_string(self, key: impl Into<Il2CppString>) -> Il2CppString
GetString(::unity::Il2CppString) overload
Sourcefn try_get(self, key: impl Into<Il2CppString>, empty: impl Into<i32>) -> i32
fn try_get(self, key: impl Into<Il2CppString>, empty: impl Into<i32>) -> i32
TryGet(::unity::Il2CppString, i32) overload
Sourcefn try_get_2(self, key: impl Into<Il2CppString>) -> (bool, i32)
fn try_get_2(self, key: impl Into<Il2CppString>) -> (bool, i32)
TryGet(::unity::Il2CppString, *muti32) overload
Sourcefn set(self, key: impl Into<Il2CppString>, enable: impl Into<bool>)
fn set(self, key: impl Into<Il2CppString>, enable: impl Into<bool>)
Set(::unity::Il2CppString, bool) overload
Sourcefn set_2(self, key: impl Into<Il2CppString>, num: impl Into<i32>)
fn set_2(self, key: impl Into<Il2CppString>, num: impl Into<i32>)
Set(::unity::Il2CppString, i32) overload
Sourcefn set_3(self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>)
fn set_3(self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>)
Set(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn set_number(self, key: impl Into<Il2CppString>, num: impl Into<i32>)
fn set_number(self, key: impl Into<Il2CppString>, num: impl Into<i32>)
SetNumber(::unity::Il2CppString, i32) overload
Sourcefn set_string(self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>)
fn set_string(self, key: impl Into<Il2CppString>, str: impl Into<Il2CppString>)
SetString(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn add(
self,
key: impl Into<Il2CppString>,
count: impl Into<i32>,
min: impl Into<i32>,
max: impl Into<i32>,
) -> i32
fn add( self, key: impl Into<Il2CppString>, count: impl Into<i32>, min: impl Into<i32>, max: impl Into<i32>, ) -> i32
Add(::unity::Il2CppString, i32, i32, i32) overload
Sourcefn clear_local(self)
fn clear_local(self)
ClearLocal() overload
Sourcefn clear_chapter(self)
fn clear_chapter(self)
ClearChapter() overload
Sourcefn clear_starts_with(self, name: impl Into<Il2CppString>)
fn clear_starts_with(self, name: impl Into<Il2CppString>)
ClearStartsWith(::unity::Il2CppString) overload
Sourcefn find_starts_with(self, name: impl Into<Il2CppString>) -> List_1<Il2CppString>
fn find_starts_with(self, name: impl Into<Il2CppString>) -> List_1<Il2CppString>
FindStartsWith(::unity::Il2CppString) overload
Sourcefn clear_keys(self, keys: impl Into<List_1<Il2CppString>>)
fn clear_keys(self, keys: impl Into<List_1<Il2CppString>>)
ClearKeys(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>) overload
Sourcefn is_exist(self, key: impl Into<Il2CppString>) -> bool
fn is_exist(self, key: impl Into<Il2CppString>) -> bool
IsExist(::unity::Il2CppString) overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn serialize_key_value(
self,
stream: impl Into<Stream_2>,
key_value: impl Into<KeyValuePair_2<Il2CppString, GameVariable_Value>>,
)
fn serialize_key_value( self, stream: impl Into<Stream_2>, key_value: impl Into<KeyValuePair_2<Il2CppString, GameVariable_Value>>, )
SerializeKeyValue(crate::app::stream_2::Stream_2, crate::system::collections::generic::keyvaluepair_2::KeyValuePair_2<::unity::Il2CppString,crate::app::gamevariable::GameVariable_Value>) overload
Sourcefn deserialize_key_value(self, stream: impl Into<Stream_2>)
fn deserialize_key_value(self, stream: impl Into<Stream_2>)
DeserializeKeyValue(crate::app::stream_2::Stream_2) overload
Sourcefn serialize_for_online(self, stream: impl Into<Stream_2>)
fn serialize_for_online(self, stream: impl Into<Stream_2>)
SerializeForOnline(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize_for_online(self, stream: impl Into<Stream_2>)
fn deserialize_for_online(self, stream: impl Into<Stream_2>)
DeserializeForOnline(crate::app::stream_2::Stream_2) overload
Sourcefn find_keys(self, header: impl Into<Il2CppString>) -> List_1<Il2CppString>
fn find_keys(self, header: impl Into<Il2CppString>) -> List_1<Il2CppString>
FindKeys(::unity::Il2CppString) overload
Sourcefn get_name(self, key: impl Into<Il2CppString>) -> Il2CppString
fn get_name(self, key: impl Into<Il2CppString>) -> Il2CppString
GetName(::unity::Il2CppString) 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§
impl<__T: IGameVariable> IGameVariableMethods for __T
app-gamevariable only.