branchrust_reboot/main/syncvarscancel

115 Commits over 120 Days - 0.04cph!

11 Months Ago
First compiling example of cheaper single server -> client sync vars 🎉 Ensure base entity initialises SyncVar hooks Clearer naming for handlers, Sync and Replicate
11 Months Ago
Missed files
11 Months Ago
Missed files
11 Months Ago
Client.Connection receive methods. Initial code generator to hook SyncVar OnValueChanged method to our SendSyncVar method (server only) Only give a damn about single SyncVars for now
11 Months Ago
BaseEntity Single SyncVar header, object and send methods Minor SyncVar code cleanup Enable encryption
11 Months Ago
main ->syncvars
11 Months Ago
main -> syncvars
1 Year Ago
+ BaseEntity.SyncVar (doesn't compile)
1 Year Ago
Added implicit conversion operators
1 Year Ago
Add correct list of allowed types
1 Year Ago
Proper client receive method
1 Year Ago
main -> syncvars
1 Year Ago
Runtime hash set to check for allowed types. This should be done in code gen instead
1 Year Ago
Added SyncVarConditional, this ensures a Func successfully return true before calling OnValueSync
1 Year Ago
Created base SyncVar class. Use generics and hook the getter/setter instead to save on memory