CatStation/Content.Shared
collinlunn f2816e8081
Moves Hands to shared, some prediction (#3829)
* HandsGuiState

* Gui state setting methods

* code cleanup

* Removes TryGetHands

* ClientHand

* Gui Hands

* Refactor WIP 1

* Hand index

* refactors 2

* wip 3

* wip 4

* wiip 4

* wip 5

* wip 6

* wip 7

* wip 8

* wip 9

* wip 11

* Hand ui mostly looks fine

* hands gui cleanup 1

* cleanup 2

* wip 13

* hand enabled

* stuff

* Hands gui gap fix

* onpressed test

* hand gui buttons events work

* bag activation works

* fix item use

* todo comment

* hands activate fix

* Moves Client Hands back to using strings to identify active hand

* fixes action hand highlighting

* diff fix

* serverhand

* SharedHand

* SharedHand, IReadOnlyHand

* Client Hands only stores SharedHand

* cleanup server hands

* server hand container shutdown

* misc renames, refactors of serverhand

* stuff 1

* stuff 3

* server hand refactor 1

* Undo API changes to remove massive diff

* More API name fixes

* server hands cleanup 2

* cleanup 3

* dropping cleanup

* Cleanup 4

* MoveItemFromHand

* Stuff

* region sorting

* Hand Putter methods cleanup

* stuff 2

* Merges all of serverhand and clienthand into sharedhand

* Other hands systems, hack to make inhands update (gui state set every frame, visualzier updated every frame)

* GetFinalDropCoordinates cleanup

* SwapHands cleanup

* Moves server hands code to shared hands

* Fixed hand selected and deselected

* Naming fixes

* Server hands system cleanup

* Hands privacy fixes

* Client hand updates when containers are modified

* HeldItemVisualizer

* Fixes hand gui item status panel

* method name fix

* Swap hands prediction

* Dropping prediction

* Fixes pickup entity animation

* Fixes HeldItemsVisualizer

* moves item pickup to shared

* PR cleanup

* fixes hand enabling/disabling

* build fix

* Conflict fixes

* Fixes pickup animation

* Uses component directed message subscriptions

* event unsubscriptions in hand system

* unsubscribe fix

* CanInsertEntityIntoHand checks if hand is enabled

* Moving items from one hand to another checks if the hands can pick up and drop

* Fixes stop pulling not re-enabling hand

* Fixes pickup animation for entities containers on the floor

* Fixes using held items

* Fixes multiple hands guis appearing

* test fix

* removes obsolete system sunsubscribes

* Checks IsFirstTimePredicted before playing drop animation

* fixes hand item deleted crash

* Uses Get to get other system

* Replaces AppearanceComponent with SharedAppearanceComponent

* Replaces EnsureComponent with TryGetComponent

* Improves event class names

* Moves property up to top of class

* Moves code for determining the hand visualizer rsi state into the visualizer instead of being determined on hand component

* Eventbus todo comment

* Yaml fix for changed visualizer name

* Makes HandsVisuals a byte

* Removes state from HandsVisualizer

* Fixes hand using interaction method name

* Namespace changes fixes

* Fix for changed hand interaction method

* missing }

* conflict build fix

* Moves cleint HandsSystem to correct folder

* Moved namespace fix for interaction test

* Moves Handsvisualizer ot correct folder

* Moves SharedHandsSystem to correct folder

* Fixes errors from moving namespace of hand systems

* Fixes PDA component changes

* Fixes ActionsComponent diff

* Fixes inventory component diff

* fixes null ref

* Replaces obsolete Loc.GetString usage with fluent translations

* Fluent for hands disarming

* SwapHands and Drop user input specify to the server which hand

* Pickup animation WorldPosiiton todo

* Cleans up hands gui subscription handling

* Fixes change in ActionBlockerSystem access

* Namespace references fixes

* HandsComponent PlayerAttached/Detached messages are handled through eventbus

* Fixes GasCanisterSystem drop method usage

* Fix gameticker equipping method at new location

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-06-21 19:21:20 +10:00
..
Access Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
ActionBlocker Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Actions Moves Hands to shared, some prediction (#3829) 2021-06-21 19:21:20 +10:00
Acts Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Administration Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
AI EntitySystemMessage Removal & InteractionSystem directed events (#3572) 2021-03-09 11:22:48 -08:00
Alert Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
AME Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
APC Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Arcade Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Atmos Remove invalid gas 2021-06-21 10:51:06 +02:00
Audio Remove field: from DataField attributes (#3932) 2021-05-04 15:37:16 +02:00
Body Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Botany Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Buckle Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Cabinet Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Camera Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Cargo Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
CCVar Add cvar thresholds to gas overlays (#3835) 2021-06-21 17:08:37 +10:00
CharacterAppearance Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
CharacterInfo Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Chat Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Chemistry Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
Climbing Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Cloning Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Clothing Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Collections Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
CombatMode Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Communications Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Computer Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Configurable Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Construction Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
Conveyor Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Cooldown Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Coordinates Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Crayon Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Cuffs Minor cuff changes (#4164) 2021-06-17 00:37:05 +10:00
Damage Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Dataset Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Directions Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Disposal Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187) 2021-06-17 00:44:38 +10:00
DoAfter Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Doors Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
DragDrop Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
DrawDepth Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
EffectBlocker Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Emoting Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
EntityList Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Entry Move some files out of Content.Shared root because I forgot (#4182) 2021-06-13 22:52:40 +10:00
Eui Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Examine Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Explosion Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Flash Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Fluids Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Foam Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Friction Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
GameTicking Turns GameTicker into an EntitySystem. (#4197) 2021-06-20 10:09:24 +02:00
GameWindow Turns GameTicker into an EntitySystem. (#4197) 2021-06-20 10:09:24 +02:00
Ghost Make ghost component ECS (#4159) 2021-06-18 09:56:23 +02:00
Gravity Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Hands Moves Hands to shared, some prediction (#3829) 2021-06-21 19:21:20 +10:00
HUD Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Input Chairbender Chat (#3794) 2021-04-20 16:39:39 -07:00
Instruments Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Interaction Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
Inventory Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
IoC Move some files out of Content.Shared root because I forgot (#4182) 2021-06-13 22:52:40 +10:00
Item Moves Hands to shared, some prediction (#3829) 2021-06-21 19:21:20 +10:00
Kitchen Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
Lathe Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Light Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Localizations Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
MachineLinking Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Maps Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Markers Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Materials Material cleanup (#4025) 2021-05-20 10:37:34 +02:00
Maths Added nullable to most Content.Shared files (#3238) 2021-02-27 14:12:09 +11:00
MedicalScanner Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187) 2021-06-17 00:44:38 +10:00
Metabolism/Events Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Mining Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
MobState Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Module Move some files out of Content.Shared root because I forgot (#4182) 2021-06-13 22:52:40 +10:00
Morgue Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Movement Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
NetIDs Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Notification/Managers Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Nutrition/Components Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Objectives Added nullable to most Content.Shared files (#3238) 2021-02-27 14:12:09 +11:00
Paper Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
PDA Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Physics Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Placeable Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Pointing/Components Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Portal/Components Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Power Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
PowerCell Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Preferences Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Projectiles Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Prototypes Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Pulling Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Radiation Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Random/Helpers Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Recycling Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Research Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Roles Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Rotatable Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Rotation Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Rounding Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Sandbox Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Singularity Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Slippery Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
SMES Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Smoking Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Solar Refactoring of solar control console (#4072) 2021-06-17 00:49:02 +10:00
Sound Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Spawning Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Speech Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Stacks Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
Standing Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
StationEvents Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Storage Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Strip/Components Deprecate IActionBlocker in favour of cancellable events (#4193) 2021-06-19 10:03:24 +02:00
Stunnable Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
SubFloor Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Suspicion Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Tag Engine Entity Anchoring Changes (#4195) 2021-06-19 19:41:26 -07:00
Targeting Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Temperature Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Throwing #3935 - Refactored ToysComponent functionality into ECS (#4127) 2021-06-19 02:35:56 -07:00
Toilet Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Tool Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Transform Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Trigger Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Vapor Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
VendingMachines Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Verbs Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Voting Remove NetMessage deprecated boilerplate (#4196) 2021-06-21 07:43:54 +02:00
Wall Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Weapons Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Whitelist Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Window Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Wires Removed old Loc.GetString() use instances (#4155) 2021-06-21 02:13:54 +02:00
app.config Updates submodule (#56) 2018-04-12 23:56:43 +02:00
Content.Shared.csproj Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00
Content.Shared.csproj.DotSettings Moved interaction interfaces from Server to Shared. 2020-07-18 22:51:56 -07:00