public void SetThingToWarehouse(Things thing, CharacterWarehouse warehouse) { CharacterThings characterThing = new CharacterThings { Id = Guid.NewGuid(), ThingId = thing.Id, WarehouseId = warehouse.Id, Value = 1 }; AddEntity(characterThing); }
public void SetThingToCharacter(Things thing, CharacterWarehouse warehouse) { _serverLogicManager.CharacterThingsServerLogic.SetThingToWarehouse(thing, warehouse); }