-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enhancements to Housing * Update AdminCommands.cs * Update Container.cs * Add proper HAR support /house guest list uses HAR * Update AdminCommands.cs * Update AdminCommands.cs * Update HouseAccess.cs * Update HouseAccess.cs * house_30daylimit * Update Player_Inventory.cs Town Crier a deed, house gets abandoned * Update HouseManager.cs * Update Player_House.cs * Update AdminCommands.cs * Wire up House Hook limits * Update Player_Inventory.cs * Update AdminCommands.cs * Add HookGroup support * Update HookGroupType.cs * Update PropertyInt.cs * WriteableItems -> WritableItems * Update Player_House.cs * Update AdminCommands.cs * Update Player_Tick.cs * Update Player_House.cs * Update Player_Tick.cs * Update HookGroupType.cs * dump_all * Update AdminCommands.cs * Update AdminCommands.cs * Update AdminCommands.cs * Update AdminCommands.cs * Update AdminCommands.cs * Update AdminCommands.cs * Update AdminCommands.cs * Update HouseManager.cs * Update HouseManager.cs * Update AdminCommands.cs * house_15day_account * Update appveyor.yml
- Loading branch information
1 parent
a50dbd6
commit 5a3191f
Showing
21 changed files
with
1,197 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace ACE.Entity.Enum | ||
{ | ||
[Flags] | ||
public enum HARBitfield | ||
{ | ||
Undef = 0x0, | ||
OpenHouse = 0x1, | ||
AllegianceGuests = 0x2, | ||
AllegianceStorage = 0x4 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Linq; | ||
|
||
namespace ACE.Entity.Enum | ||
{ | ||
public enum HookGroupType | ||
{ | ||
Undef = 0x0, | ||
NoisemakingItems = 0x1, | ||
TestItems = 0x2, | ||
PortalItems = 0x4, | ||
WritableItems = 0x8, | ||
SpellCastingItems = 0x10, | ||
SpellTeachingItems = 0x20 | ||
} | ||
|
||
public static class HookGroupTypeExtensions | ||
{ | ||
/// <summary> | ||
/// Will add a space infront of capital letter words in a string | ||
/// </summary> | ||
/// <returns>string with spaces infront of capital letters</returns> | ||
public static string ToSentence(this HookGroupType hookGroupType) | ||
{ | ||
return new string(hookGroupType.ToString().ToCharArray().SelectMany((c, i) => i > 0 && char.IsUpper(c) ? new char[] { ' ', c } : new char[] { c }).ToArray()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.