20 lines
384 B
C#
20 lines
384 B
C#
using System.Collections.Generic;
|
|
using BlueWest.Collections;
|
|
using MessagePack;
|
|
|
|
namespace BlueWest.Data
|
|
{
|
|
[MessagePackObject]
|
|
public class UserList: DataObject
|
|
{
|
|
[Key(9)] public List<User> Users;
|
|
|
|
public UserList(List<User> users)
|
|
{
|
|
Users = users;
|
|
}
|
|
|
|
[IgnoreMember]
|
|
public int Length => Users.Count;
|
|
}
|
|
} |