55 lines
1.2 KiB
C#
55 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace ExitGames.Client.Photon
|
|
{
|
|
// Token: 0x02000020 RID: 32
|
|
public class OperationResponse
|
|
{
|
|
// Token: 0x17000067 RID: 103
|
|
public object this[byte parameterCode]
|
|
{
|
|
get
|
|
{
|
|
object obj;
|
|
this.Parameters.TryGetValue(parameterCode, out obj);
|
|
return obj;
|
|
}
|
|
set
|
|
{
|
|
this.Parameters[parameterCode] = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060001B1 RID: 433 RVA: 0x0000F218 File Offset: 0x0000D418
|
|
public override string ToString()
|
|
{
|
|
return string.Format("OperationResponse {0}: ReturnCode: {1}.", this.OperationCode, this.ReturnCode);
|
|
}
|
|
|
|
// Token: 0x060001B2 RID: 434 RVA: 0x0000F24C File Offset: 0x0000D44C
|
|
public string ToStringFull()
|
|
{
|
|
return string.Format("OperationResponse {0}: ReturnCode: {1} ({3}). Parameters: {2}", new object[]
|
|
{
|
|
this.OperationCode,
|
|
this.ReturnCode,
|
|
SupportClass.DictionaryToString(this.Parameters),
|
|
this.DebugMessage
|
|
});
|
|
}
|
|
|
|
// Token: 0x0400010F RID: 271
|
|
public byte OperationCode;
|
|
|
|
// Token: 0x04000110 RID: 272
|
|
public short ReturnCode;
|
|
|
|
// Token: 0x04000111 RID: 273
|
|
public string DebugMessage;
|
|
|
|
// Token: 0x04000112 RID: 274
|
|
public Dictionary<byte, object> Parameters;
|
|
}
|
|
}
|