mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
23 lines
657 B
C#
23 lines
657 B
C#
using FSO.Common.Enum;
|
|
using FSO.Common.Serialization;
|
|
using Mina.Core.Buffer;
|
|
using FSO.Common.DatabaseService.Framework;
|
|
|
|
namespace FSO.Common.DatabaseService.Model
|
|
{
|
|
[DatabaseRequest(DBRequestType.GetTopResultSetByID)]
|
|
public class GetTop100Request : IoBufferSerializable, IoBufferDeserializable
|
|
{
|
|
public Top100Category Category;
|
|
|
|
public void Deserialize(IoBuffer input, ISerializationContext context)
|
|
{
|
|
Category = input.GetEnum<Top100Category>();
|
|
}
|
|
|
|
public void Serialize(IoBuffer output, ISerializationContext context)
|
|
{
|
|
output.PutEnum(Category);
|
|
}
|
|
}
|
|
}
|