public ReadReturn ( uint methodId, |
||
methodId | uint | |
br | ||
return | object |
public object ReadReturn(uint methodId, BinaryReader br)
{
var returnVal = new object();
switch (methodId)
{
case 1:
{
if (br.ReadByte() == (byte)SerializeObjectMark.Common)
{
returnVal = (new ServerList()).Read(br);
}
break;
}
}
return returnVal;
}
public void WriteReturn(RpcMethod method, BinaryWriter bw, object value)