Guad / GTACoop

An online co-op modification for GTA5
GNU General Public License v3.0
81 stars 71 forks source link

Another fix relating to C#6 #2

Closed DorCoMaNdO closed 8 years ago

DorCoMaNdO commented 8 years ago

Another fix relating to C#6

Added SendChatMessageToAll(string message) and SendChatMessageToPlayer(NetConnection player, string message), passing an empty string through sender. - Simplifying functions as much as possible helps C# beginners a lot.

DorCoMaNdO commented 8 years ago

Perhaps a runtime compiler for C# (and VB.NET as they mostly support each other) would be a good idea, it would let beginners avoid some of the hassle that's involved in compiling code sometimes.

Guad commented 8 years ago

A runtime compiler seems unnecessary. Also it limits the references to those we provide (if we dont do some sort of dependency resolving).

DorCoMaNdO commented 8 years ago

A runtime compiler, like any other compiler, will require dependency references, but those are already provided with the shipped binaries. Yes references to additional binaries would probably be harder (not impossible, it would work with solutions like p/invoke), but anyone who knows how to reference to additional binaries would probably know how to compile the code, so that's not a problem.