initial commit

This commit is contained in:
hondacrx
2017-06-19 17:30:18 -04:00
commit 6e265ea24b
763 changed files with 488824 additions and 0 deletions
@@ -0,0 +1,29 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmCharacterCountList
{
[DataMember(Name = "counts")]
public IList<RealmCharacterCountEntry> Counts { get; set; } = new List<RealmCharacterCountEntry>();
}
}
+56
View File
@@ -0,0 +1,56 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmEntry
{
[DataMember(Name = "wowRealmAddress")]
public int WowRealmAddress { get; set; }
[DataMember(Name = "cfgTimezonesID")]
public int CfgTimezonesID { get; set; }
[DataMember(Name = "populationState")]
public int PopulationState { get; set; }
[DataMember(Name = "cfgCategoriesID")]
public int CfgCategoriesID { get; set; }
[DataMember(Name = "version")]
public ClientVersion Version { get; set; } = new ClientVersion();
[DataMember(Name = "cfgRealmsID")]
public int CfgRealmsID { get; set; }
[DataMember(Name = "flags")]
public int Flags { get; set; }
[DataMember(Name = "name")]
public string Name { get; set; }
[DataMember(Name = "cfgConfigsID")]
public int CfgConfigsID { get; set; }
[DataMember(Name = "cfgLanguagesID")]
public int CfgLanguagesID { get; set; }
}
}
@@ -0,0 +1,29 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListServerIPAddresses
{
[DataMember(Name = "families")]
public IList<AddressFamily> Families { get; set; } = new List<AddressFamily>();
}
}
@@ -0,0 +1,28 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListTicketClientInformation
{
[DataMember(Name = "info")]
public RealmListTicketInformation Info { get; set; } = new RealmListTicketInformation();
}
}
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListTicketIdentity
{
[DataMember(Name = "gameAccountID")]
public int GameAccountId { get; set; }
[DataMember(Name = "gameAccountRegion")]
public int GameAccountRegion { get; set; }
}
}
@@ -0,0 +1,68 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListTicketInformation
{
[DataMember(Name = "platform")]
public int Platform { get; set; }
[DataMember(Name = "buildVariant")]
public string BuildVariant { get; set; }
[DataMember(Name = "type")]
public int Type { get; set; }
[DataMember(Name = "timeZone")]
public string Timezone { get; set; }
[DataMember(Name = "currentTime")]
public int CurrentTime { get; set; }
[DataMember(Name = "textLocale")]
public int TextLocale { get; set; }
[DataMember(Name = "audioLocale")]
public int AudioLocale { get; set; }
[DataMember(Name = "versionDataBuild")]
public int VersionDataBuild { get; set; }
[DataMember(Name = "version")]
public ClientVersion ClientVersion { get; set; } = new ClientVersion();
[DataMember(Name = "secret")]
public List<int> Secret { get; set; }
[DataMember(Name = "clientArch")]
public int ClientArch { get; set; }
[DataMember(Name = "systemVersion")]
public string SystemVersion { get; set; }
[DataMember(Name = "platformType")]
public int PlatformType { get; set; }
[DataMember(Name = "systemArch")]
public int SystemArch { get; set; }
}
}
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListUpdate
{
[DataMember(Name = "update")]
public RealmEntry Update { get; set; } = new RealmEntry();
[DataMember(Name = "deleting")]
public bool Deleting { get; set; }
}
}
@@ -0,0 +1,29 @@
/*
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Framework.Rest
{
[DataContract]
public class RealmListUpdates
{
[DataMember(Name = "updates")]
public IList<RealmListUpdate> Updates { get; set; } = new List<RealmListUpdate>();
}
}