Author Topic: TNet C# .NET Client  (Read 3086 times)

icade4all

  • Guest
TNet C# .NET Client
« on: July 04, 2013, 02:22:37 AM »
Is is possible to instance a TNet client from a .NET Application (WPF, console, etc).
In that case, what .NET FW is needed?

I would like to write a C#.NET application for windows that is another client of the server.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNet C# .NET Client
« Reply #1 on: July 04, 2013, 08:06:52 AM »
You can use the basic client from any .NET / Mono application, but keep in mind that some things are meant to be used with Unity. TNManager for example.

icade4all

  • Guest
Re: TNet C# .NET Client
« Reply #2 on: July 04, 2013, 08:53:20 AM »
What I need to do is to send custom messages from a Unity app to a .NET windows console application and send also custom messages FROM the .NET windows console back to the unity app.

I still did not buy the package, so I am not sure what you mean with "basic" client.

Thanks in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNet C# .NET Client
« Reply #3 on: July 04, 2013, 09:17:38 AM »
TNet server is a mono application that doesn't require Unity. You can run it from within Unity, or you can launch it as a stand-alone executable (TNServer.exe). You can compile it yourself (TNetServer.zip), and modify it to suit your needs. You don't need Unity in order to run it.

To run the client, you do need Unity as it uses it extensively. The core of the client can be separated, and does not require Unity -- but there are no provided examples of how one would separate it, which is why I said "meant to be used with Unity".