SimpleSockets icon indicating copy to clipboard operation
SimpleSockets copied to clipboard

bug in NetCore.Console.Client when sending object

Open oshere1111 opened this issue 11 months ago • 0 comments

when running NetCore.Console.Client and connecting to NetCore.Console.Server there is a list of option of what to send to the server when an object by pressing O it sends the object but the server doesnt recognize the object as person but it recognize the object as : "Received an object of type = Newtonsoft.Json.Linq.JObject"

and the code in if (obj.GetType() == typeof(Person)) is always false since its not the type of person but as Newtonsoft.Json.Linq.JObject

oshere1111 avatar Mar 14 '24 11:03 oshere1111