// GUIVIEW INTERFACE protected override void OnViewInit() { base.OnViewInit(); CloudUser.authenticationChanged += OnAuthenticationChanged; m_Chat = RegisterComponent <ScreenComponentChat>(); }
// GUISCREEN INTERFACE protected override void OnViewInit() { base.OnViewInit(); CloudUser.authenticationChanged += OnAuthenticationChanged; m_Chat = RegisterComponent <ScreenComponentChat>(); m_Chat.Channel = string.Format(LobbyGangChat.CHANNEL, m_PrimaryKey); }
// GUIOVERLAY INTERFACE protected override void OnViewInit() { base.OnViewInit(); m_Chat = RegisterComponent <ScreenComponentChat>(); m_Chat.MaxRows = MAX_ROWS; m_Chat.Channel = CHANNEL; m_Chat.OnMessageReceived = OnMessageReceived; m_Chat.OnIsMessageSelectable = OnIsMessageSelectable; m_Chat.OnMessageAction = OnMessageAction; }
// GUIOVERLAY INTERFACE protected override void OnViewInit() { m_Instance = this; base.OnViewInit(); CloudUser.authenticationChanged += OnAuthenticationChanged; m_Chat = RegisterComponent <ScreenComponentChat>(); m_Chat.MaxRows = MAX_ROWS; m_FriendList = GuiBaseUtils.GetControl <GUIBase_List>(Layout, "FriendList"); InitGuiLines(); }