Stumps.StumpsServer.AddNewStump C# (CSharp) Method

AddNewStump() public method

Adds a new T:Stumps.Stump with a specified identifier to the collection.
is null. A with the same identifier already exists.
public AddNewStump ( string stumpId ) : Stump
stumpId string The unique identifier for the .
return Stump
        public Stump AddNewStump(string stumpId)
        {
            var stump = new Stump(stumpId);
            _stumpsManager.AddStump(stump);
            return stump;
        }