-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(network): add treasure result (#1)
- Loading branch information
Showing
9 changed files
with
215 additions
and
20 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Cafe.Matcha.Constant | ||
{ | ||
internal enum TreasureShiftingWheelResultType | ||
{ | ||
Low = 191, | ||
Medium = 192, | ||
High = 193, | ||
Shift = 194, | ||
Special = 195, | ||
End = 196 | ||
} | ||
} |
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,25 @@ | ||
// Copyright (c) FFCafe. All rights reserved. | ||
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information. | ||
|
||
namespace Cafe.Matcha.DTO | ||
{ | ||
using Cafe.Matcha.Constant; | ||
using Newtonsoft.Json; | ||
|
||
internal class TreasureResultDTO : BaseDTO | ||
{ | ||
public override EventType EventType | ||
{ | ||
get | ||
{ | ||
return EventType.TreasureResult; | ||
} | ||
} | ||
|
||
[JsonProperty("value")] | ||
public string Value; | ||
|
||
[JsonProperty("round")] | ||
public int Round; | ||
} | ||
} |
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.