mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 11:39:35 +08:00
添加models controllers
This commit is contained in:
parent
b63d3831c2
commit
0ddd2a5d6b
@ -12,6 +12,7 @@
|
|||||||
<ApplicationIcon>images\logo.ico</ApplicationIcon>
|
<ApplicationIcon>images\logo.ico</ApplicationIcon>
|
||||||
<BaseOutputPath>..\bin\</BaseOutputPath>
|
<BaseOutputPath>..\bin\</BaseOutputPath>
|
||||||
<AssemblyName>FunGame</AssemblyName>
|
<AssemblyName>FunGame</AssemblyName>
|
||||||
|
<RootNamespace>Milimoe.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<FileVersion>1.0</FileVersion>
|
<FileVersion>1.0</FileVersion>
|
||||||
<PackageOutputPath>..\bin</PackageOutputPath>
|
<PackageOutputPath>..\bin</PackageOutputPath>
|
||||||
<Title>FunGame.Core</Title>
|
<Title>FunGame.Core</Title>
|
||||||
|
<RootNamespace>Milimoe.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
12
FunGame.Desktop/Controllers/UI/InventoryController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/InventoryController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class InventoryController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/LoginController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/LoginController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class LoginController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/MainController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/MainController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class MainController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/RegisterController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/RegisterController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class RegisterController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/RoomSettingController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/RoomSettingController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class RoomSettingController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/StoreController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/StoreController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class StoreController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/UI/UserCenterController.cs
Normal file
12
FunGame.Desktop/Controllers/UI/UserCenterController.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class UserCenterController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Controllers/Utility/SocketModel.cs
Normal file
12
FunGame.Desktop/Controllers/Utility/SocketModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Controller
|
||||||
|
{
|
||||||
|
public class SocketController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -19,6 +19,7 @@
|
|||||||
<PackageOutputPath>..\bin</PackageOutputPath>
|
<PackageOutputPath>..\bin</PackageOutputPath>
|
||||||
<AssemblyVersion>1.0</AssemblyVersion>
|
<AssemblyVersion>1.0</AssemblyVersion>
|
||||||
<FileVersion>1.0</FileVersion>
|
<FileVersion>1.0</FileVersion>
|
||||||
|
<RootNamespace>Milimoe.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
@ -49,13 +50,12 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Models\" />
|
|
||||||
<Folder Include="UI\Login\" />
|
<Folder Include="UI\Login\" />
|
||||||
<Folder Include="UI\Register\" />
|
<Folder Include="UI\Register\" />
|
||||||
<Folder Include="UI\RoomSetting\" />
|
<Folder Include="UI\RoomSetting\" />
|
||||||
<Folder Include="UI\UserSetting\" />
|
<Folder Include="UI\UserCenter\" />
|
||||||
<Folder Include="UI\Stock\" />
|
<Folder Include="UI\Stock\" />
|
||||||
<Folder Include="UI\Store\" />
|
<Folder Include="UI\Inventory\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
12
FunGame.Desktop/Models/UI/InventoryModel.cs
Normal file
12
FunGame.Desktop/Models/UI/InventoryModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class InventoryModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/LoginModel.cs
Normal file
12
FunGame.Desktop/Models/UI/LoginModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class LoginModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/MainModel.cs
Normal file
12
FunGame.Desktop/Models/UI/MainModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class MainModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/RegisterModel.cs
Normal file
12
FunGame.Desktop/Models/UI/RegisterModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class RegisterModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/RoomSettingModel.cs
Normal file
12
FunGame.Desktop/Models/UI/RoomSettingModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class RoomSettingModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/StoreModel.cs
Normal file
12
FunGame.Desktop/Models/UI/StoreModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class StoreModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/UI/UserCenterModel.cs
Normal file
12
FunGame.Desktop/Models/UI/UserCenterModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class UserCenterModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
12
FunGame.Desktop/Models/Utility/SocketModel.cs
Normal file
12
FunGame.Desktop/Models/Utility/SocketModel.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Milimoe.FunGame.Desktop.Model
|
||||||
|
{
|
||||||
|
public class SocketModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
2
FunGame.Desktop/Properties/Resources.Designer.cs
generated
2
FunGame.Desktop/Properties/Resources.Designer.cs
generated
@ -39,7 +39,7 @@ namespace Milimoe.FunGame.Desktop.Properties {
|
|||||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
get {
|
get {
|
||||||
if (object.ReferenceEquals(resourceMan, null)) {
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FunGame.Desktop.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Milimoe.FunGame.Desktop.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
|
@ -171,6 +171,7 @@ namespace Milimoe.FunGame.Desktop.UI
|
|||||||
{
|
{
|
||||||
SetServerStatusLight((int)LightType.Red);
|
SetServerStatusLight((int)LightType.Red);
|
||||||
SetButtonEnableIfLogon(false, ClientState.WaitConnect);
|
SetButtonEnableIfLogon(false, ClientState.WaitConnect);
|
||||||
|
LogoutAccount();
|
||||||
};
|
};
|
||||||
if (InvokeRequired)
|
if (InvokeRequired)
|
||||||
BeginInvoke(SocketHelper_Action, this);
|
BeginInvoke(SocketHelper_Action, this);
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<PackageOutputPath>..\bin</PackageOutputPath>
|
<PackageOutputPath>..\bin</PackageOutputPath>
|
||||||
<AssemblyVersion>1.0</AssemblyVersion>
|
<AssemblyVersion>1.0</AssemblyVersion>
|
||||||
<FileVersion>1.0</FileVersion>
|
<FileVersion>1.0</FileVersion>
|
||||||
|
<RootNamespace>Milimoe.FunGame.Core.Implement</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
<AssemblyVersion>1.0</AssemblyVersion>
|
<AssemblyVersion>1.0</AssemblyVersion>
|
||||||
<FileVersion>1.0</FileVersion>
|
<FileVersion>1.0</FileVersion>
|
||||||
<PackageOutputPath>..\bin\plugin</PackageOutputPath>
|
<PackageOutputPath>..\bin\plugin</PackageOutputPath>
|
||||||
|
<RootNamespace>Milimoe.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user