public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { PlayerState result = new PlayerState(); result.DeserializeFrom(stream); return result; }