Skip to main content

IRelayServerMetaDataMethods

Trait IRelayServerMetaDataMethods 

Source
pub trait IRelayServerMetaDataMethods: IRelayServerMetaData {
Show 49 methods // Provided methods fn ctor(self) { ... } fn clone(self) -> RelayServerMetaData { ... } fn set_owner( self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>, ) { ... } fn set_cid(self, cid: impl Into<Il2CppString>) { ... } fn set_binary(self, bin: impl Into<Array<u8>>) { ... } fn set_binary_2(self, bin: impl Into<List_1<u8>>) { ... } fn update_buffer_on_server(self) { ... } fn begin(self) { ... } fn complete(self) { ... } fn game_over(self) { ... } fn complement_time(self, unix_time: impl Into<i64>) { ... } fn add_player( self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>, ) { ... } fn add_pid(self, pid: impl Into<Il2CppString>) { ... } fn get_owner_name(self) -> Il2CppString { ... } fn get_player_name(self, index: impl Into<i32>) -> Il2CppString { ... } fn create_award_random(self) -> Random_2 { ... } fn clear(self) { ... } fn serialize(self) { ... } fn deserialize(self) -> bool { ... } fn get_buffer(self) -> Array<u8> { ... } fn get_size(self) -> i32 { ... } fn get_buffer_on_server(self) -> Array<u8> { ... } fn get_size_on_server(self) -> i32 { ... } fn get_data_id(self) -> u64 { ... } fn set_data_id(self, value: impl Into<u64>) { ... } fn get_data_code(self) -> Il2CppString { ... } fn set_data_code(self, value: impl Into<Il2CppString>) { ... } fn get_updated_unix_time_on_server(self) -> i64 { ... } fn set_updated_unix_time_on_server(self, value: impl Into<i64>) { ... } fn get_is_secret(self) -> bool { ... } fn set_is_secret(self, value: impl Into<bool>) { ... } fn get_owner_id(self) -> u64 { ... } fn get_cid(self) -> Il2CppString { ... } fn get_begin_unix_time(self) -> i64 { ... } fn get_end_unix_time(self) -> i64 { ... } fn get_turn(self) -> i32 { ... } fn set_turn(self, value: impl Into<i32>) { ... } fn get_is_end(self) -> bool { ... } fn get_is_completed(self) -> bool { ... } fn get_player_ids(self) -> List_1<u64> { ... } fn get_player_names(self) -> List_1<Il2CppString> { ... } fn get_pids(self) -> List_1<Il2CppString> { ... } fn get_playing_count(self) -> u32 { ... } fn set_playing_count(self, value: impl Into<u32>) { ... } fn get_awardees(self) -> Dictionary_2<Il2CppString, RelayAwardeeData> { ... } fn set_awardees( self, value: impl Into<Dictionary_2<Il2CppString, RelayAwardeeData>>, ) { ... } fn try_set_begin_unix_time(self, unix_time: impl Into<i64>) { ... } fn try_set_end_unix_time(self, unix_time: impl Into<i64>) { ... } fn set_award_random_seed(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn clone(self) -> RelayServerMetaData

Clone() overload

Source

fn set_owner(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)

SetOwner(u64, ::unity::Il2CppString) overload

Source

fn set_cid(self, cid: impl Into<Il2CppString>)

SetCid(::unity::Il2CppString) overload

Source

fn set_binary(self, bin: impl Into<Array<u8>>)

SetBinary(::unity::Array<u8>) overload

Source

fn set_binary_2(self, bin: impl Into<List_1<u8>>)

SetBinary(crate::system::collections::generic::list_1::List_1<u8>) overload

Source

fn update_buffer_on_server(self)

UpdateBufferOnServer() overload

Source

fn begin(self)

Begin() overload

Source

fn complete(self)

Complete() overload

Source

fn game_over(self)

GameOver() overload

Source

fn complement_time(self, unix_time: impl Into<i64>)

ComplementTime(i64) overload

Source

fn add_player(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)

AddPlayer(u64, ::unity::Il2CppString) overload

Source

fn add_pid(self, pid: impl Into<Il2CppString>)

AddPid(::unity::Il2CppString) overload

Source

fn get_owner_name(self) -> Il2CppString

GetOwnerName() overload

Source

fn get_player_name(self, index: impl Into<i32>) -> Il2CppString

GetPlayerName(i32) overload

Source

fn create_award_random(self) -> Random_2

CreateAwardRandom() overload

Source

fn clear(self)

Clear() overload

Source

fn serialize(self)

Serialize() overload

Source

fn deserialize(self) -> bool

Deserialize() overload

Source

fn get_buffer(self) -> Array<u8>

get_Buffer() overload

Source

fn get_size(self) -> i32

get_Size() overload

Source

fn get_buffer_on_server(self) -> Array<u8>

get_BufferOnServer() overload

Source

fn get_size_on_server(self) -> i32

get_SizeOnServer() overload

Source

fn get_data_id(self) -> u64

get_DataId() overload

Source

fn set_data_id(self, value: impl Into<u64>)

set_DataId(u64) overload

Source

fn get_data_code(self) -> Il2CppString

get_DataCode() overload

Source

fn set_data_code(self, value: impl Into<Il2CppString>)

set_DataCode(::unity::Il2CppString) overload

Source

fn get_updated_unix_time_on_server(self) -> i64

get_UpdatedUnixTimeOnServer() overload

Source

fn set_updated_unix_time_on_server(self, value: impl Into<i64>)

set_UpdatedUnixTimeOnServer(i64) overload

Source

fn get_is_secret(self) -> bool

get_IsSecret() overload

Source

fn set_is_secret(self, value: impl Into<bool>)

set_IsSecret(bool) overload

Source

fn get_owner_id(self) -> u64

get_OwnerId() overload

Source

fn get_cid(self) -> Il2CppString

get_Cid() overload

Source

fn get_begin_unix_time(self) -> i64

get_BeginUnixTime() overload

Source

fn get_end_unix_time(self) -> i64

get_EndUnixTime() overload

Source

fn get_turn(self) -> i32

get_Turn() overload

Source

fn set_turn(self, value: impl Into<i32>)

set_Turn(i32) overload

Source

fn get_is_end(self) -> bool

get_IsEnd() overload

Source

fn get_is_completed(self) -> bool

get_IsCompleted() overload

Source

fn get_player_ids(self) -> List_1<u64>

get_PlayerIds() overload

Source

fn get_player_names(self) -> List_1<Il2CppString>

get_PlayerNames() overload

Source

fn get_pids(self) -> List_1<Il2CppString>

get_Pids() overload

Source

fn get_playing_count(self) -> u32

get_PlayingCount() overload

Source

fn set_playing_count(self, value: impl Into<u32>)

set_PlayingCount(u32) overload

Source

fn get_awardees(self) -> Dictionary_2<Il2CppString, RelayAwardeeData>

get_Awardees() overload

Source

fn set_awardees( self, value: impl Into<Dictionary_2<Il2CppString, RelayAwardeeData>>, )

set_Awardees(crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,crate::app::relayawardeedata::RelayAwardeeData>) overload

Source

fn try_set_begin_unix_time(self, unix_time: impl Into<i64>)

TrySetBeginUnixTime(i64) overload

Source

fn try_set_end_unix_time(self, unix_time: impl Into<i64>)

TrySetEndUnixTime(i64) overload

Source

fn set_award_random_seed(self)

SetAwardRandomSeed() 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: IRelayServerMetaData> IRelayServerMetaDataMethods for __T

Available on crate feature app-relayservermetadata only.