-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
454 additions
and
298 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace RustPlusApi.Fcm.Data.Events | ||
{ | ||
public class AlarmEventArg | ||
{ | ||
public Guid ServerId { get; set; } | ||
public string Title { get; set; } = null!; | ||
public string Message { get; set; } = null!; | ||
} | ||
} |
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,9 @@ | ||
namespace RustPlusApi.Fcm.Data.Events | ||
{ | ||
public class EntityEventArg | ||
{ | ||
public int EntityType { get; set; } | ||
public int EntityId { get; set; } | ||
public string EntityName { get; set; } = null!; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
.../RustPlusApi.Fcm/Utils/MessageEventArg.cs → ...lusApi.Fcm/Data/Events/MessageEventArg.cs
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,9 @@ | ||
| ||
namespace RustPlusApi.Fcm.Data.Events | ||
{ | ||
public class ServerEventArg | ||
{ | ||
public Guid Id { get; set; } | ||
public string Name { get; set; } = null!; | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
RustPlusApi/RustPlusApi.Fcm/Data/Events/ServerFullEventArg.cs
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 RustPlusApi.Fcm.Data.Events | ||
{ | ||
public class ServerFullEventArg : ServerEventArg | ||
{ | ||
public string Ip { get; set; } = null!; | ||
public int Port { get; set; } | ||
public string Desc { get; set; } = null!; | ||
public int Logo { get; set; } | ||
public int Img { get; set; } | ||
public string Url { get; set; } = null!; | ||
} | ||
} |
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.