mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-05 06:00:29 -04:00
Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
33
server/FSO.Server.Protocol/Electron/Model/ChangeRoommateResponseStatus.cs
Executable file
33
server/FSO.Server.Protocol/Electron/Model/ChangeRoommateResponseStatus.cs
Executable file
|
@ -0,0 +1,33 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public enum ChangeRoommateResponseStatus : byte
|
||||
{
|
||||
INVITE_SUCCESS = 0,
|
||||
|
||||
//invite codes
|
||||
ROOMIE_ELSEWHERE = 1,
|
||||
TOO_MANY_ROOMMATES = 2,
|
||||
OTHER_INVITE_PENDING = 3,
|
||||
|
||||
//shared
|
||||
YOU_ARE_NOT_OWNER = 4, //everything but move out
|
||||
|
||||
//kick or move out
|
||||
YOU_ARE_NOT_ROOMMATE = 5,
|
||||
LOT_MUST_BE_CLOSED = 6, //move out of lot with 1 roommate
|
||||
|
||||
//invite response
|
||||
LOT_DOESNT_EXIST = 7,
|
||||
NO_INVITE_PENDING = 8,
|
||||
|
||||
ACCEPT_SUCCESS = 9,
|
||||
DECLINE_SUCCESS = 10,
|
||||
KICK_SUCCESS = 11,
|
||||
SELFKICK_SUCCESS = 12,
|
||||
|
||||
ROOMMATE_LEFT = 13,
|
||||
GOT_KICKED = 14,
|
||||
|
||||
UNKNOWN = 255
|
||||
}
|
||||
}
|
11
server/FSO.Server.Protocol/Electron/Model/ChangeRoommateType.cs
Executable file
11
server/FSO.Server.Protocol/Electron/Model/ChangeRoommateType.cs
Executable file
|
@ -0,0 +1,11 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public enum ChangeRoommateType : byte
|
||||
{
|
||||
INVITE = 0,
|
||||
KICK = 1,
|
||||
ACCEPT = 2,
|
||||
DECLINE = 3,
|
||||
POLL = 4
|
||||
}
|
||||
}
|
11
server/FSO.Server.Protocol/Electron/Model/FindAvatarResponseStatus.cs
Executable file
11
server/FSO.Server.Protocol/Electron/Model/FindAvatarResponseStatus.cs
Executable file
|
@ -0,0 +1,11 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public enum FindAvatarResponseStatus
|
||||
{
|
||||
FOUND,
|
||||
IGNORING_THEM,
|
||||
IGNORING_YOU,
|
||||
NOT_ON_LOT,
|
||||
PRIVACY_ENABLED,
|
||||
}
|
||||
}
|
14
server/FSO.Server.Protocol/Electron/Model/FindLotResponseStatus.cs
Executable file
14
server/FSO.Server.Protocol/Electron/Model/FindLotResponseStatus.cs
Executable file
|
@ -0,0 +1,14 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public enum FindLotResponseStatus
|
||||
{
|
||||
FOUND,
|
||||
NO_SUCH_LOT,
|
||||
NOT_OPEN,
|
||||
NOT_PERMITTED_TO_OPEN,
|
||||
CLAIM_FAILED,
|
||||
NO_CAPACITY,
|
||||
NO_ADMIT,
|
||||
UNKNOWN_ERROR
|
||||
}
|
||||
}
|
8
server/FSO.Server.Protocol/Electron/Model/IActionRequest.cs
Executable file
8
server/FSO.Server.Protocol/Electron/Model/IActionRequest.cs
Executable file
|
@ -0,0 +1,8 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public interface IActionRequest
|
||||
{
|
||||
object OType { get; }
|
||||
bool NeedsValidation { get; }
|
||||
}
|
||||
}
|
8
server/FSO.Server.Protocol/Electron/Model/IActionResponse.cs
Executable file
8
server/FSO.Server.Protocol/Electron/Model/IActionResponse.cs
Executable file
|
@ -0,0 +1,8 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public interface IActionResponse
|
||||
{
|
||||
bool Success { get; }
|
||||
object OCode { get; }
|
||||
}
|
||||
}
|
9
server/FSO.Server.Protocol/Electron/Model/ModerationRequestType.cs
Executable file
9
server/FSO.Server.Protocol/Electron/Model/ModerationRequestType.cs
Executable file
|
@ -0,0 +1,9 @@
|
|||
namespace FSO.Server.Protocol.Electron.Model
|
||||
{
|
||||
public enum ModerationRequestType
|
||||
{
|
||||
IPBAN_USER,
|
||||
BAN_USER,
|
||||
KICK_USER
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue