67 Commits

Author SHA1 Message Date
Erdroy ec18b01ef7 Fix ENet driver crash 2021-08-21 13:09:27 +02:00
Erdroy b149d91c35 Cleanup native NetworkMessage write and read string char size 2021-07-07 18:11:59 +02:00
Erdroy e62c76b0fb Add NetworkMessage Guid write and read methods 2021-07-07 18:11:20 +02:00
Erdroy 7e9f648a05 Fix NetworkMessage UTF-16 string write and read 2021-07-07 18:03:54 +02:00
Erdroy 6471f880ac Fix NetworkMessage.WriteBytes 2021-07-06 20:33:22 +02:00
Erdroy 6a2e833fca Fix NetworkMessage typo 2021-07-06 20:19:25 +02:00
Erdroy e44bca597c Fix NetworkMessage.ReadBytes 2021-07-06 20:14:29 +02:00
mafiesto4 404891fe01 Fix building for Xbox Scarlett 2021-07-02 10:53:38 +02:00
Erdroy 15b14349f9 Fix linux build 2021-07-01 22:58:45 +02:00
Erdroy 2f9147c36c Fix all merge suggestions/issues 2021-07-01 19:47:04 +02:00
Erdroy bfd50851f8 Move implementation from NetworkMessage source file into header file 2021-07-01 19:46:01 +02:00
Erdroy e41139d1fa Delete NetworkConnection.cpp 2021-07-01 19:45:39 +02:00
Erdroy 742b73f774 Cleanup NetworkMessage header XML comments 2021-06-27 12:26:11 +02:00
Erdroy 95c86efd31 Improve Write/ReadString implementation and comments 2021-06-27 12:25:45 +02:00
Erdroy a6ccbe3876 Remove NetworkManager and move peer creation/shutdown to NetworkPeer class 2021-06-26 21:30:11 +02:00
Erdroy 6aece4e388 Add note about required message recycle after message-event 2021-06-21 22:00:09 +02:00
Erdroy 25fe03f5a5 Rename NetworkTransportType to NetworkDriverType 2021-06-21 21:40:48 +02:00
Erdroy c6a8488fe1 Add XML comments 2021-06-21 21:40:27 +02:00
Erdroy d9aa9d1832 Remove UTF8 and UTF32 in favor of UTF16 strings to be consistent with C++ API 2021-06-21 21:34:21 +02:00
Erdroy 7692aaf547 Rename *Host functions to *Peer functions 2021-06-21 21:02:48 +02:00
Erdroy 3a722acc62 Cleanup 2021-06-21 20:32:02 +02:00
Erdroy 5234ae7a0d Fix NetworkPeer instance memory leak 2021-06-21 20:10:15 +02:00
Erdroy 6772d447fa Cleanup 2021-06-21 20:10:03 +02:00
Erdroy 9d7bba04cb Rename NetworkHost to NetworkPeer as it seems more appropriate 2021-06-18 20:45:30 +02:00
Erdroy 040c024dff Refactor most NetworkManager functionality into NetworkHost 2021-06-18 20:43:17 +02:00
Erdroy f40bb309d5 Fix host id issue, cleanup 2021-06-17 18:42:42 +02:00
Erdroy e0d41ab683 Fix host shutdown issue 2021-06-17 18:42:27 +02:00
Erdroy 23794c8875 Add NetworkHost id and comparison operator 2021-05-29 20:19:09 +02:00
Erdroy 97a5daf7e6 Fix NetworkMessage read/write asserts 2021-05-29 20:18:07 +02:00
Erdroy 1e22d8e3f8 Add ENet kick/connection disconnect impl 2021-05-29 19:50:28 +02:00
Erdroy 61af4c94bd Add usage of address specified in config for ENet driver 2021-05-29 19:42:22 +02:00
Erdroy 6719e0b326 Cleanup 2021-05-29 19:41:39 +02:00
Erdroy ba4979cfc2 Add NetworkConfig::Address validation 2021-05-22 19:45:44 +02:00
Erdroy cd04007a71 Add address string for Listening/Connecting 2021-05-22 19:45:31 +02:00
Erdroy 0b16490719 Add full C# NetworkMessage API 2021-04-23 21:09:15 +02:00
Erdroy e7f899309c Add simple SendMessage with single target 2021-04-16 22:08:59 +02:00
Erdroy ed82787093 Fix compilation issues & cleanup 2021-04-16 22:03:35 +02:00
Erdroy acb4a10fd5 Add IsServer checks for message sending 2021-04-16 21:18:12 +02:00
Erdroy 9927209293 Add message sending to clients 2021-04-16 21:17:43 +02:00
Erdroy d5bc9b5e46 Add NetworkConnection to ENetPeer map 2021-04-16 21:16:26 +02:00
Erdroy 8aaa0a2d6b Add Timeout event 2021-04-16 21:15:20 +02:00
Erdroy ba8d506c14 Add explicit ctor to NetworkConnection 2021-04-16 21:14:54 +02:00
Erdroy d99aa3ef46 Finish ReadBytes/WriteBytes C# API 2021-03-15 20:37:31 +01:00
Erdroy a90b3bd7f6 Add message sending to server 2021-03-15 20:28:41 +01:00
Erdroy 77461e45c0 Remove fragmented channel type 2021-03-15 20:07:52 +01:00
Erdroy 99135759e3 Use only one channel for ENet 2021-03-15 20:00:30 +01:00
Erdroy 5afe51d1b4 Add NetworkMessage read/write functions (WIP) 2021-03-12 20:01:03 +01:00
Erdroy 082d56f89a Add multi-host support 2021-03-12 19:29:20 +01:00
Erdroy 6b7ca47f26 Add basic ENet driver implementation (WIP) 2021-03-11 20:30:37 +01:00
Erdroy 00d5a40443 Fix PopEvent API signature 2021-03-11 20:30:03 +01:00