Skip to main content

IGodBondHolderMethods

Trait IGodBondHolderMethods 

Source
pub trait IGodBondHolderMethods: IGodBondHolder {
Show 19 methods // Provided methods fn build(self, data: impl Into<GodData>) -> GodBondHolder { ... } fn get(self, unit: impl Into<Unit>) -> GodBond { ... } fn create(self, unit: impl Into<Unit>) { ... } fn update_all_bonds_for_god_state(self, god_state: impl Into<GodState>) { ... } fn delete_exluding(self, pids: impl Into<List_1<Il2CppString>>) { ... } fn get_max_level(self) -> i32 { ... } fn get_count_of_reliance_level_a(self) -> i32 { ... } fn new_god_bond(self, pid: impl Into<Il2CppString>) -> GodBond { ... } fn clear(self) { ... } fn set_level_from_unit_reliance_if_possible(self, data: impl Into<GodData>) { ... } fn set_level_from_unit_reliance( self, link_unit: impl Into<Unit>, force_type: impl Into<Force_Type>, ) { ... } fn change_opponent(self, data: impl Into<GodData>) { ... } 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>) { ... } fn get_data(self) -> GodData { ... } fn is_valid(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

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

Build(crate::app::goddata::GodData) overload

Source

fn get(self, unit: impl Into<Unit>) -> GodBond

Get(crate::app::unit::Unit) overload

Source

fn create(self, unit: impl Into<Unit>)

Create(crate::app::unit::Unit) overload

Source

fn update_all_bonds_for_god_state(self, god_state: impl Into<GodState>)

UpdateAllBondsForGodState(crate::app::godstate::GodState) overload

Source

fn delete_exluding(self, pids: impl Into<List_1<Il2CppString>>)

DeleteExluding(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>) overload

Source

fn get_max_level(self) -> i32

GetMaxLevel() overload

Source

fn get_count_of_reliance_level_a(self) -> i32

GetCountOfRelianceLevelA() overload

Source

fn new_god_bond(self, pid: impl Into<Il2CppString>) -> GodBond

NewGodBond(::unity::Il2CppString) overload

Source

fn clear(self)

Clear() overload

Source

fn set_level_from_unit_reliance_if_possible(self, data: impl Into<GodData>)

SetLevelFromUnitRelianceIfPossible(crate::app::goddata::GodData) overload

Source

fn set_level_from_unit_reliance( self, link_unit: impl Into<Unit>, force_type: impl Into<Force_Type>, )

SetLevelFromUnitReliance(crate::app::unit::Unit, crate::app::force::Force_Type) overload

Source

fn change_opponent(self, data: impl Into<GodData>)

ChangeOpponent(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

Source

fn get_data(self) -> GodData

get_Data() overload

Source

fn is_valid(self) -> bool

IsValid() 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: IGodBondHolder> IGodBondHolderMethods for __T

Available on crate feature app-godbondholder only.