544 lines
18 KiB
C#
544 lines
18 KiB
C#
using System;
|
|
using RecNet;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x02001208 RID: 4616
|
|
public class MessagesScreenItem : MonoBehaviour
|
|
{
|
|
// Token: 0x060278C7 RID: 161991 RVA: 0x00B04904 File Offset: 0x00B02B04
|
|
private Color BOHGAABNDOJ(IMGPDLHMJEE.FCHPDJPIBHM MOCDEKMKCHL)
|
|
{
|
|
switch (MOCDEKMKCHL)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
return this.MessageColors.GameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return this.MessageColors.GameInviteDeclined;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
return this.MessageColors.GameJoinFailed;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return this.MessageColors.PartyActivitySwitch;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return this.MessageColors.FriendInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return this.MessageColors.VoteToKick;
|
|
default:
|
|
if (MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheer || MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheerAnonymous)
|
|
{
|
|
return this.MessageColors.CheerMessage;
|
|
}
|
|
if (MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.FriendStatusOnline)
|
|
{
|
|
return this.MessageColors.FriendStatusOnline;
|
|
}
|
|
if (MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.TextMessage)
|
|
{
|
|
return this.MessageColors.TextMessage;
|
|
}
|
|
if (MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.FriendRequestAccepted)
|
|
{
|
|
return this.MessageColors.FriendRequestAccepted;
|
|
}
|
|
if (MOCDEKMKCHL != IMGPDLHMJEE.FCHPDJPIBHM.CoachMessage)
|
|
{
|
|
Debug.LogErrorFormat("MessagesScreenItem.GetColorForMessageType() - Unhandled MessageType: {0}", new object[] { MOCDEKMKCHL });
|
|
return Color.gray;
|
|
}
|
|
return this.MessageColors.CoachMessage;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return this.MessageColors.RequestGameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return this.MessageColors.RequestGameInviteDeclined;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278C8 RID: 161992 RVA: 0x00B04A38 File Offset: 0x00B02C38
|
|
private void DCOIPAIIEOF()
|
|
{
|
|
this.contentText.text = this.GHFGNCGPNNE(this.HEOJADOJGNP);
|
|
this.backgroundImage.color = this.ELFMENEPBNM(this.HEOJADOJGNP.LBNALLNMHPA());
|
|
PlayerSpecificUIBehaviour[] componentsInChildren = base.GetComponentsInChildren<PlayerSpecificUIBehaviour>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
PlayerSpecificUIBehaviour playerSpecificUIBehaviour = componentsInChildren[i];
|
|
if (this.HEOJADOJGNP.OCDIEJDKLGD() == (IMGPDLHMJEE.FCHPDJPIBHM)33)
|
|
{
|
|
playerSpecificUIBehaviour.PLBLEJPJEGN(null, PlayerSpecificUIBehaviour.PlayerDisplayMode.Nearby);
|
|
}
|
|
else
|
|
{
|
|
playerSpecificUIBehaviour.AHFCNBDCNIH(new long?(this.HEOJADOJGNP.IGCLCEEKMDP), PlayerSpecificUIBehaviour.PlayerDisplayMode.Nearby);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278C9 RID: 161993 RVA: 0x00B04AD8 File Offset: 0x00B02CD8
|
|
private void JKDEIFPACPM()
|
|
{
|
|
this.contentText.text = this.GHFGNCGPNNE(this.HEOJADOJGNP);
|
|
this.backgroundImage.color = this.BOHGAABNDOJ(this.HEOJADOJGNP.EEAOGJHMFII);
|
|
foreach (PlayerSpecificUIBehaviour playerSpecificUIBehaviour in base.GetComponentsInChildren<PlayerSpecificUIBehaviour>())
|
|
{
|
|
if (this.HEOJADOJGNP.EEAOGJHMFII == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheerAnonymous)
|
|
{
|
|
playerSpecificUIBehaviour.SetPlayer(null, PlayerSpecificUIBehaviour.PlayerDisplayMode.None);
|
|
}
|
|
else
|
|
{
|
|
playerSpecificUIBehaviour.SetPlayer(new long?(this.HEOJADOJGNP.IGCLCEEKMDP), PlayerSpecificUIBehaviour.PlayerDisplayMode.None);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170011E2 RID: 4578
|
|
// (get) Token: 0x060278CA RID: 161994 RVA: 0x00B04B78 File Offset: 0x00B02D78
|
|
// (set) Token: 0x060278CD RID: 161997 RVA: 0x00B04CE0 File Offset: 0x00B02EE0
|
|
public IMGPDLHMJEE FNIKKEAFIGC
|
|
{
|
|
get
|
|
{
|
|
return this.HEOJADOJGNP;
|
|
}
|
|
set
|
|
{
|
|
this.HEOJADOJGNP = value;
|
|
this.JKDEIFPACPM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278CB RID: 161995 RVA: 0x00B04B80 File Offset: 0x00B02D80
|
|
private Color FPFJEGKOGEF(IMGPDLHMJEE.FCHPDJPIBHM MOCDEKMKCHL)
|
|
{
|
|
switch (MOCDEKMKCHL)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
return this.MessageColors.GameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return this.MessageColors.GameInviteDeclined;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
return this.MessageColors.GameJoinFailed;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return this.MessageColors.PartyActivitySwitch;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return this.MessageColors.FriendInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return this.MessageColors.VoteToKick;
|
|
default:
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-12) || MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-81))
|
|
{
|
|
return this.MessageColors.CheerMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-95))
|
|
{
|
|
return this.MessageColors.FriendStatusOnline;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-25))
|
|
{
|
|
return this.MessageColors.TextMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)86)
|
|
{
|
|
return this.MessageColors.FriendRequestAccepted;
|
|
}
|
|
if (MOCDEKMKCHL != (IMGPDLHMJEE.FCHPDJPIBHM)82)
|
|
{
|
|
string text = "OnHandFocusLost";
|
|
object[] array = new object[1];
|
|
array[1] = MOCDEKMKCHL;
|
|
Debug.LogErrorFormat(text, array);
|
|
return Color.gray;
|
|
}
|
|
return this.MessageColors.CoachMessage;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return this.MessageColors.RequestGameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return this.MessageColors.RequestGameInviteDeclined;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278CC RID: 161996 RVA: 0x00B04CB4 File Offset: 0x00B02EB4
|
|
public void LCIKFONILHE()
|
|
{
|
|
WatchUI componentInParent = base.GetComponentInParent<WatchUI>();
|
|
if (componentInParent != null)
|
|
{
|
|
componentInParent.ShowMessageDialog(this.HEOJADOJGNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278CE RID: 161998 RVA: 0x00B04CF0 File Offset: 0x00B02EF0
|
|
public void OCAKMKJDIGP(IMGPDLHMJEE NOBAPCOKFIL)
|
|
{
|
|
this.HEOJADOJGNP = NOBAPCOKFIL;
|
|
this.DOJMHMLDCNC();
|
|
}
|
|
|
|
// Token: 0x060278CF RID: 161999 RVA: 0x00B04D00 File Offset: 0x00B02F00
|
|
private Color HCHOJECCCPG(IMGPDLHMJEE.FCHPDJPIBHM MOCDEKMKCHL)
|
|
{
|
|
switch (MOCDEKMKCHL)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
return this.MessageColors.GameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return this.MessageColors.GameInviteDeclined;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
return this.MessageColors.GameJoinFailed;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return this.MessageColors.PartyActivitySwitch;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return this.MessageColors.FriendInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return this.MessageColors.VoteToKick;
|
|
default:
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-48) || MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-30))
|
|
{
|
|
return this.MessageColors.CheerMessage;
|
|
}
|
|
if (MOCDEKMKCHL == IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed)
|
|
{
|
|
return this.MessageColors.FriendStatusOnline;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)119)
|
|
{
|
|
return this.MessageColors.TextMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)88)
|
|
{
|
|
return this.MessageColors.FriendRequestAccepted;
|
|
}
|
|
if (MOCDEKMKCHL != (IMGPDLHMJEE.FCHPDJPIBHM)(-111))
|
|
{
|
|
Debug.LogErrorFormat("y", new object[] { MOCDEKMKCHL });
|
|
return Color.gray;
|
|
}
|
|
return this.MessageColors.CoachMessage;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return this.MessageColors.RequestGameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return this.MessageColors.RequestGameInviteDeclined;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D0 RID: 162000 RVA: 0x00B04E34 File Offset: 0x00B03034
|
|
public void OENMLPOEGEP(IMGPDLHMJEE NOBAPCOKFIL)
|
|
{
|
|
this.HEOJADOJGNP = NOBAPCOKFIL;
|
|
this.DOJMHMLDCNC();
|
|
}
|
|
|
|
// Token: 0x060278D1 RID: 162001 RVA: 0x00B04E44 File Offset: 0x00B03044
|
|
private Color AKNLMAIMFGM(IMGPDLHMJEE.FCHPDJPIBHM MOCDEKMKCHL)
|
|
{
|
|
switch (MOCDEKMKCHL)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
return this.MessageColors.GameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return this.MessageColors.GameInviteDeclined;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
return this.MessageColors.GameJoinFailed;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return this.MessageColors.PartyActivitySwitch;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return this.MessageColors.FriendInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return this.MessageColors.VoteToKick;
|
|
default:
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-89) || MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-50))
|
|
{
|
|
return this.MessageColors.CheerMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-9))
|
|
{
|
|
return this.MessageColors.FriendStatusOnline;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)48)
|
|
{
|
|
return this.MessageColors.TextMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)63)
|
|
{
|
|
return this.MessageColors.FriendRequestAccepted;
|
|
}
|
|
if (MOCDEKMKCHL != (IMGPDLHMJEE.FCHPDJPIBHM)17)
|
|
{
|
|
Debug.LogErrorFormat("Not enough cards in the scene to double buffer cards.", new object[] { MOCDEKMKCHL });
|
|
return Color.gray;
|
|
}
|
|
return this.MessageColors.CoachMessage;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return this.MessageColors.RequestGameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return this.MessageColors.RequestGameInviteDeclined;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D2 RID: 162002 RVA: 0x00B04F78 File Offset: 0x00B03178
|
|
private Color ELFMENEPBNM(IMGPDLHMJEE.FCHPDJPIBHM MOCDEKMKCHL)
|
|
{
|
|
switch (MOCDEKMKCHL)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
return this.MessageColors.GameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return this.MessageColors.GameInviteDeclined;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
return this.MessageColors.GameJoinFailed;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return this.MessageColors.PartyActivitySwitch;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return this.MessageColors.FriendInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return this.MessageColors.VoteToKick;
|
|
default:
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-67) || MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-27))
|
|
{
|
|
return this.MessageColors.CheerMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)92)
|
|
{
|
|
return this.MessageColors.FriendStatusOnline;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)90)
|
|
{
|
|
return this.MessageColors.TextMessage;
|
|
}
|
|
if (MOCDEKMKCHL == (IMGPDLHMJEE.FCHPDJPIBHM)(-101))
|
|
{
|
|
return this.MessageColors.FriendRequestAccepted;
|
|
}
|
|
if (MOCDEKMKCHL != (IMGPDLHMJEE.FCHPDJPIBHM)71)
|
|
{
|
|
string text = "unity_time";
|
|
object[] array = new object[1];
|
|
array[1] = MOCDEKMKCHL;
|
|
Debug.LogErrorFormat(text, array);
|
|
return Color.gray;
|
|
}
|
|
return this.MessageColors.CoachMessage;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return this.MessageColors.RequestGameInvite;
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return this.MessageColors.RequestGameInviteDeclined;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D3 RID: 162003 RVA: 0x00B050AC File Offset: 0x00B032AC
|
|
private string GHFGNCGPNNE(IMGPDLHMJEE NFAFJOMABOK)
|
|
{
|
|
IMGPDLHMJEE.FCHPDJPIBHM fchpdjpibhm = NFAFJOMABOK.EEAOGJHMFII;
|
|
switch (fchpdjpibhm)
|
|
{
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInvite:
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.PartyActivitySwitch:
|
|
return "Game Invite";
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameInviteDeclined:
|
|
return "Game Invite Declined";
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.GameJoinFailed:
|
|
{
|
|
int num = (int)NFAFJOMABOK.EMDDMJFFCIO;
|
|
return (num != 0) ? ("Failed To Join Your Game (+" + num + " party members)") : "Failed To Join Your Game";
|
|
}
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.FriendInvite:
|
|
return "Friend Request";
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.VoteToKick:
|
|
return "Vote to kick?";
|
|
default:
|
|
if (fchpdjpibhm == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheer || fchpdjpibhm == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheerAnonymous)
|
|
{
|
|
PFFLICAGKJG.PMLPJJBPDDM pmlpjjbpddm = (PFFLICAGKJG.PMLPJJBPDDM)NFAFJOMABOK.EMDDMJFFCIO;
|
|
string cheerCategoryText = SingletonMonoBehaviour<ModerationManager>.NCKMBFBMBFM.GetCheerCategoryText(pmlpjjbpddm);
|
|
string text = ((NFAFJOMABOK.EEAOGJHMFII != IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheerAnonymous) ? string.Empty : " [Anonymous]");
|
|
return string.Format("Cheers - {0}{1}", cheerCategoryText, text);
|
|
}
|
|
if (fchpdjpibhm == IMGPDLHMJEE.FCHPDJPIBHM.FriendStatusOnline)
|
|
{
|
|
return "Friend is Online";
|
|
}
|
|
if (fchpdjpibhm == IMGPDLHMJEE.FCHPDJPIBHM.TextMessage)
|
|
{
|
|
return string.Format("Message : {0}", NFAFJOMABOK.LCHAEFBPFIH.HDDFDDFHEHB(60, "..."));
|
|
}
|
|
if (fchpdjpibhm == IMGPDLHMJEE.FCHPDJPIBHM.FriendRequestAccepted)
|
|
{
|
|
return "Friend Request Accepted";
|
|
}
|
|
if (fchpdjpibhm != IMGPDLHMJEE.FCHPDJPIBHM.CoachMessage)
|
|
{
|
|
Debug.LogErrorFormat("MessagesScreenItem.FormatMessage() - Unhandled MessageType: {0}", new object[] { this.HEOJADOJGNP.EEAOGJHMFII });
|
|
return this.HEOJADOJGNP.EEAOGJHMFII.ToString();
|
|
}
|
|
return "Message from Coach";
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite:
|
|
return "Request Invite";
|
|
case IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInviteDeclined:
|
|
return "Request Invite Declined";
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D4 RID: 162004 RVA: 0x00B05234 File Offset: 0x00B03434
|
|
private void OIJBFIPOFCP()
|
|
{
|
|
this.contentText.text = this.GHFGNCGPNNE(this.HEOJADOJGNP);
|
|
this.backgroundImage.color = this.FPFJEGKOGEF(this.HEOJADOJGNP.OCDIEJDKLGD());
|
|
PlayerSpecificUIBehaviour[] componentsInChildren = base.GetComponentsInChildren<PlayerSpecificUIBehaviour>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
PlayerSpecificUIBehaviour playerSpecificUIBehaviour = componentsInChildren[i];
|
|
if (this.HEOJADOJGNP.OPEGOHCLINK() == IMGPDLHMJEE.FCHPDJPIBHM.RequestGameInvite)
|
|
{
|
|
playerSpecificUIBehaviour.PLBLEJPJEGN(null, PlayerSpecificUIBehaviour.PlayerDisplayMode.Nearby);
|
|
}
|
|
else
|
|
{
|
|
playerSpecificUIBehaviour.JNLFLGPDMPD(new long?(this.HEOJADOJGNP.OMGDLCKELPK()), PlayerSpecificUIBehaviour.PlayerDisplayMode.None);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D6 RID: 162006 RVA: 0x00B052DC File Offset: 0x00B034DC
|
|
public IMGPDLHMJEE JJBMFECBDJD()
|
|
{
|
|
return this.HEOJADOJGNP;
|
|
}
|
|
|
|
// Token: 0x060278D7 RID: 162007 RVA: 0x00B052E4 File Offset: 0x00B034E4
|
|
private void DOJMHMLDCNC()
|
|
{
|
|
this.contentText.text = this.GHFGNCGPNNE(this.HEOJADOJGNP);
|
|
this.backgroundImage.color = this.AKNLMAIMFGM(this.HEOJADOJGNP.OPEGOHCLINK());
|
|
foreach (PlayerSpecificUIBehaviour playerSpecificUIBehaviour in base.GetComponentsInChildren<PlayerSpecificUIBehaviour>())
|
|
{
|
|
if (this.HEOJADOJGNP.EEAOGJHMFII == (IMGPDLHMJEE.FCHPDJPIBHM)(-9))
|
|
{
|
|
playerSpecificUIBehaviour.PLBLEJPJEGN(null, PlayerSpecificUIBehaviour.PlayerDisplayMode.Nearby);
|
|
}
|
|
else
|
|
{
|
|
playerSpecificUIBehaviour.SetPlayer(new long?(this.HEOJADOJGNP.IGCLCEEKMDP), PlayerSpecificUIBehaviour.PlayerDisplayMode.Nearby);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278D8 RID: 162008 RVA: 0x00B05384 File Offset: 0x00B03584
|
|
public void Button_Delete()
|
|
{
|
|
HFFHGPOHOJA.APHDLBHONLL(this.HEOJADOJGNP.PKJFPDJKJAH, null);
|
|
}
|
|
|
|
// Token: 0x060278D9 RID: 162009 RVA: 0x00B05398 File Offset: 0x00B03598
|
|
public void Button_ShowDetails()
|
|
{
|
|
WatchUI componentInParent = base.GetComponentInParent<WatchUI>();
|
|
if (componentInParent != null)
|
|
{
|
|
componentInParent.ShowMessageDialog(this.HEOJADOJGNP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060278DA RID: 162010 RVA: 0x00B053C4 File Offset: 0x00B035C4
|
|
public IMGPDLHMJEE NHLKBNCLKBB()
|
|
{
|
|
return this.HEOJADOJGNP;
|
|
}
|
|
|
|
// Token: 0x060278DB RID: 162011 RVA: 0x00B053CC File Offset: 0x00B035CC
|
|
public void HHNAFGDLGOK()
|
|
{
|
|
HFFHGPOHOJA.APHDLBHONLL(this.HEOJADOJGNP.JINMAJNJHJG(), null);
|
|
}
|
|
|
|
// Token: 0x060278DC RID: 162012 RVA: 0x00B053E0 File Offset: 0x00B035E0
|
|
public void AHDONJPKLKJ()
|
|
{
|
|
HFFHGPOHOJA.APHDLBHONLL(this.HEOJADOJGNP.JINMAJNJHJG(), null);
|
|
}
|
|
|
|
// Token: 0x060278DD RID: 162013 RVA: 0x00B053F4 File Offset: 0x00B035F4
|
|
public IMGPDLHMJEE EKOOCOPEILA()
|
|
{
|
|
return this.HEOJADOJGNP;
|
|
}
|
|
|
|
// Token: 0x060278DE RID: 162014 RVA: 0x00B053FC File Offset: 0x00B035FC
|
|
private void NBEHBDEBMKO()
|
|
{
|
|
this.contentText.text = this.GHFGNCGPNNE(this.HEOJADOJGNP);
|
|
this.backgroundImage.color = this.FPFJEGKOGEF(this.HEOJADOJGNP.FKIBPLHAKMC());
|
|
PlayerSpecificUIBehaviour[] componentsInChildren = base.GetComponentsInChildren<PlayerSpecificUIBehaviour>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
PlayerSpecificUIBehaviour playerSpecificUIBehaviour = componentsInChildren[i];
|
|
if (this.HEOJADOJGNP.NMNHCAIGAPB() == IMGPDLHMJEE.FCHPDJPIBHM.PlayerCheerAnonymous)
|
|
{
|
|
playerSpecificUIBehaviour.JJKEPKKPLFI(null, PlayerSpecificUIBehaviour.PlayerDisplayMode.None);
|
|
}
|
|
else
|
|
{
|
|
playerSpecificUIBehaviour.SetPlayer(new long?(this.HEOJADOJGNP.IAFCHACAGNP()), PlayerSpecificUIBehaviour.PlayerDisplayMode.None);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04006302 RID: 25346
|
|
[SerializeField]
|
|
private Text contentText;
|
|
|
|
// Token: 0x04006303 RID: 25347
|
|
[SerializeField]
|
|
private Image backgroundImage;
|
|
|
|
// Token: 0x04006304 RID: 25348
|
|
private IMGPDLHMJEE HEOJADOJGNP;
|
|
|
|
// Token: 0x04006305 RID: 25349
|
|
[SerializeField]
|
|
private MessagesScreenItem._MessageColors MessageColors;
|
|
|
|
// Token: 0x02001209 RID: 4617
|
|
[Serializable]
|
|
private class _MessageColors
|
|
{
|
|
// Token: 0x04006306 RID: 25350
|
|
public Color GameInvite;
|
|
|
|
// Token: 0x04006307 RID: 25351
|
|
public Color GameInviteDeclined;
|
|
|
|
// Token: 0x04006308 RID: 25352
|
|
public Color GameJoinFailed;
|
|
|
|
// Token: 0x04006309 RID: 25353
|
|
public Color PartyActivitySwitch;
|
|
|
|
// Token: 0x0400630A RID: 25354
|
|
public Color FriendInvite;
|
|
|
|
// Token: 0x0400630B RID: 25355
|
|
public Color VoteToKick;
|
|
|
|
// Token: 0x0400630C RID: 25356
|
|
public Color RequestGameInvite;
|
|
|
|
// Token: 0x0400630D RID: 25357
|
|
public Color RequestGameInviteDeclined;
|
|
|
|
// Token: 0x0400630E RID: 25358
|
|
public Color FriendStatusOnline;
|
|
|
|
// Token: 0x0400630F RID: 25359
|
|
public Color TextMessage;
|
|
|
|
// Token: 0x04006310 RID: 25360
|
|
public Color CoachMessage;
|
|
|
|
// Token: 0x04006311 RID: 25361
|
|
public Color CheerMessage;
|
|
|
|
// Token: 0x04006312 RID: 25362
|
|
public Color FriendRequestAccepted;
|
|
}
|
|
}
|