7ecd7f4ec8
Giving plugin more control over when it should be executed ( #74 )
...
This pr should give the plugin dev the option to receive all events to his liking without constraining it to a specific type at compile time
Co-authored-by: Weirdo <git.jonas@kamsker.at >
Co-authored-by: AeonLucid <aeonlucid@outlook.com >
2020-10-24 23:06:12 +02:00
AeonLucid
055366fed8
Add disconnect reason when reason is null
2020-10-24 22:51:22 +02:00
AeonLucid
ec64b0148c
Update editorconfig
2020-10-24 22:28:56 +02:00
AeonLucid
6340177f30
Add editorconfig for consistent code
2020-10-24 22:24:33 +02:00
AeonLucid
94f19a38c5
Expose PlayerName again to fix example plugin
2020-10-24 22:12:04 +02:00
AeonLucid
58d00dc657
Remove login from Impostor.Api assembly
2020-10-24 21:56:51 +02:00
AeonLucid
f5e454856a
Update Data namespace
2020-10-24 21:08:45 +02:00
AeonLucid
9b5249cbb3
Pack Impostor.Api in build process
2020-10-24 21:02:10 +02:00
AeonLucid
a36396fb48
Update more project files
2020-10-24 20:33:42 +02:00
AeonLucid
150dbdefaa
Fix AppVeyor and pluginloader issue
2020-10-24 20:18:40 +02:00
AeonLucid
173f6d088d
Remove pdb files from builds
2020-10-24 20:08:40 +02:00
AeonLucid
2ff01c599a
Imrpove AppVeyor versioning
2020-10-24 20:05:23 +02:00
AeonLucid
880826bc20
Fix tests
2020-10-24 19:39:06 +02:00
AeonLucid
c33da59c5e
Fix AppVeyor
2020-10-24 07:25:45 +02:00
AeonLucid
198cd7911b
HandleRpc async for sending events
2020-10-24 07:00:36 +02:00
AeonLucid
e0481833d4
Add PlayerSpawned / PlayerDestroyed
2020-10-24 06:45:51 +02:00
AeonLucid
61eeb3b5c0
Improve PluginLoader and Enable/Disable plugins
2020-10-24 06:02:52 +02:00
AeonLucid
b55d09de71
Add useful method
2020-10-24 05:02:24 +02:00
AeonLucid
96c2647193
Use LongRunning tasks for the server and client
2020-10-24 04:38:14 +02:00
AeonLucid
6fc0fbb074
Fix recorder order after game creation
2020-10-24 04:03:21 +02:00
AeonLucid
1cb7077772
Fix ServerReplay error
2020-10-24 03:51:18 +02:00
AeonLucid
ab0858a2c9
Despawn log message on trace level
2020-10-24 02:40:07 +02:00
AeonLucid
7d803e76f4
Remove period from exception messages
2020-10-24 02:37:59 +02:00
AeonLucid
4dc12ceff5
Disconnect client when caught hacking
2020-10-24 02:36:11 +02:00
AeonLucid
553c8b9b1b
Basic Hazel connection rate limiting
2020-10-24 02:13:56 +02:00
AeonLucid
8aaa4f8b3b
Fix bug
2020-10-24 01:24:52 +02:00
AeonLucid
67e302798f
Add spawn and leave timeout
2020-10-24 01:18:25 +02:00
AeonLucid
fcd54e0c63
Set player to death when disconnected
2020-10-24 00:35:54 +02:00
AeonLucid
ee707a502c
Added deserialization checks
2020-10-24 00:28:02 +02:00
AeonLucid
923d9b7766
Add target to Deserialize of InnerNetObject
2020-10-24 00:07:34 +02:00
AeonLucid
dcb903b272
Added missing checks in InnerShipStatus
2020-10-24 00:04:43 +02:00
AeonLucid
7c946525fc
Add PlayAnimation checks
2020-10-23 23:47:08 +02:00
AeonLucid
a5cf97e85a
Almost all RPC calls
2020-10-23 23:42:59 +02:00
AeonLucid
1b776bfce9
Finish up PlayerControl RPCs
2020-10-23 22:27:57 +02:00
AeonLucid
35792a1641
Anonymize PacketRecorder
2020-10-23 20:13:06 +02:00
AeonLucid
9e1292ce1f
API Improvement and RpcCalls enum
2020-10-23 20:02:18 +02:00
AeonLucid
fd41caff0b
Ensure thread safety for joining a game
2020-10-23 19:18:01 +02:00
AeonLucid
fe3bd658a1
Expose all global InnerNet objects
2020-10-23 19:13:28 +02:00
AeonLucid
dc7ba92fd5
Link player classes internally
2020-10-23 07:19:45 +02:00
AeonLucid
be5a876113
Implement deserialization for most GameData objects
2020-10-23 05:38:32 +02:00
AeonLucid
93230823b4
Add checks on DespawnFlag and SceneChangeFlag
2020-10-23 03:27:40 +02:00
AeonLucid
579eacc521
Workaround for early spawn of host player components
2020-10-23 02:54:32 +02:00
AeonLucid
e78329b9b1
Proper logging in game class
2020-10-23 00:28:29 +02:00
AeonLucid
574b7e23b4
Add stopwatch
2020-10-22 23:58:20 +02:00
AeonLucid
22703588e7
Disable recorder by default
2020-10-22 22:38:42 +02:00
AeonLucid
602fe821f2
Fix appveyor and don't flush to disk
2020-10-22 22:29:13 +02:00
AeonLucid
b56a55ae1a
Fix cake
2020-10-22 22:25:55 +02:00
AeonLucid
3827b6a627
Remove unnecessary if def
2020-10-22 22:19:18 +02:00
AeonLucid
8ff4e7708b
Update recorder and add replayer
2020-10-22 22:15:34 +02:00
AeonLucid
f2a31655a3
Add client packet recorder
2020-10-22 16:09:20 +02:00