Refactoring of BNetServer
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
[DataContract]
|
||||
public class Address
|
||||
{
|
||||
[DataMember(Name = "ip")]
|
||||
public string Ip { get; set; }
|
||||
|
||||
[DataMember(Name = "port")]
|
||||
public int Port { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
[DataContract]
|
||||
public class AddressFamily
|
||||
{
|
||||
[DataMember(Name = "family")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[DataMember(Name = "addresses")]
|
||||
public IList<Address> Addresses { get; set; } = new List<Address>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
[DataContract]
|
||||
public class ClientVersion
|
||||
{
|
||||
[DataMember(Name = "versionMajor")]
|
||||
public int Major { get; set; }
|
||||
|
||||
[DataMember(Name = "versionBuild")]
|
||||
public int Build { get; set; }
|
||||
|
||||
[DataMember(Name = "versionMinor")]
|
||||
public int Minor { get; set; }
|
||||
|
||||
[DataMember(Name = "versionRevision")]
|
||||
public int Revision { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
[DataContract]
|
||||
public class RealmCharacterCountEntry
|
||||
{
|
||||
[DataMember(Name = "wowRealmAddress")]
|
||||
public int WowRealmAddress { get; set; }
|
||||
|
||||
[DataMember(Name = "count")]
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user