-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More UI stuff and fixed mission zoom in.
- Loading branch information
Showing
5 changed files
with
126 additions
and
0 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
22 changes: 22 additions & 0 deletions
22
Uchu.World/Packets/GameMessages/Server/NotifyClientFailedPreconditionMessage.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,22 @@ | ||
using RakDotNet.IO; | ||
using Uchu.Core; | ||
|
||
namespace Uchu.World | ||
{ | ||
public class NotifyClientFailedPreconditionMessage : ServerGameMessage | ||
{ | ||
public override GameMessageId GameMessageId => GameMessageId.NotifyClientFailedPrecondition; | ||
|
||
public string Reason { get; set; } | ||
|
||
public int Id { get; set; } | ||
|
||
public override void SerializeMessage(BitWriter writer) | ||
{ | ||
writer.Write((uint) Reason.Length); | ||
writer.WriteString(Reason, Reason.Length, true); | ||
|
||
writer.Write(Id); | ||
} | ||
} | ||
} |
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