C# Class ChatInterfaceLogic, PlayFabGameServer

Inheritance: MonoBehaviour
Show file Open project: PlayFab/PlayFabGameServer

Public Properties

Property Type Description
PlayerUsername string
channel_dropdown Dropdown,
channel_transform_connections List
chat_content_prefab GameObject
chat_diplay_name_text InputField,
chat_transform Transform
chat_window_transform Transform
input_text_field InputField,
old_object_limit int
received_message_header GameObject
received_message_prefab GameObject
send_button Button
sent_message_header GameObject
sent_message_prefab GameObject

Public Methods

Method Description
AddToObjectList ( GameObject old_object ) : void
ChannelDropdown ( int index ) : void
Initialize ( NetworkClient network_client, string playFabId ) : void
OnPlayerChangeUserName ( ) : void
ReceiveMessage ( string sender, string message, string timestamp, string sender_playfab_id ) : void
SendMessageButtonClicked ( ) : void

Private Methods

Method Description
OnChannelMessage ( NetworkMessage, netMsg ) : void
OnCreateChannelResponse ( NetworkMessage, netMsg ) : void
OnJoinChannelResponse ( NetworkMessage, netMsg ) : void

Method Details

AddToObjectList() public method

public AddToObjectList ( GameObject old_object ) : void
old_object GameObject
return void

ChannelDropdown() public method

public ChannelDropdown ( int index ) : void
index int
return void

Initialize() public method

public Initialize ( NetworkClient network_client, string playFabId ) : void
network_client NetworkClient
playFabId string
return void

OnPlayerChangeUserName() public method

public OnPlayerChangeUserName ( ) : void
return void

ReceiveMessage() public method

public ReceiveMessage ( string sender, string message, string timestamp, string sender_playfab_id ) : void
sender string
message string
timestamp string
sender_playfab_id string
return void

SendMessageButtonClicked() public method

public SendMessageButtonClicked ( ) : void
return void

Property Details

PlayerUsername public property

public string PlayerUsername
return string

channel_dropdown public property

public Dropdown, channel_dropdown
return Dropdown,

channel_transform_connections public property

public List channel_transform_connections
return List

chat_content_prefab public property

public GameObject chat_content_prefab
return GameObject

chat_diplay_name_text public property

public InputField, chat_diplay_name_text
return InputField,

chat_transform public property

public Transform chat_transform
return Transform

chat_window_transform public property

public Transform chat_window_transform
return Transform

input_text_field public property

public InputField, input_text_field
return InputField,

old_object_limit public property

public int old_object_limit
return int

received_message_header public property

public GameObject received_message_header
return GameObject

received_message_prefab public property

public GameObject received_message_prefab
return GameObject

send_button public property

public Button send_button
return Button

sent_message_header public property

public GameObject sent_message_header
return GameObject

sent_message_prefab public property

public GameObject sent_message_prefab
return GameObject