[IOS] 手柄显示 [protobuff] 重新生成协议
This commit is contained in:
parent
b0b2833896
commit
bb2129f49a
@ -35,7 +35,7 @@ namespace AxibugEmuOnline.Client
|
|||||||
GameObject.DontDestroyOnLoad(debugger);
|
GameObject.DontDestroyOnLoad(debugger);
|
||||||
bool UseJoyStack = false;
|
bool UseJoyStack = false;
|
||||||
|
|
||||||
if (Application.platform == RuntimePlatform.Android && Application.platform != RuntimePlatform.WindowsEditor)
|
if ((Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) && Application.platform != RuntimePlatform.WindowsEditor)
|
||||||
{
|
{
|
||||||
UseJoyStack = true;
|
UseJoyStack = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,7 +20,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
NickName = string.Empty;
|
NickName = string.Empty;
|
||||||
ChatMsg = string.Empty;
|
ChatMsg = string.Empty;
|
||||||
Date = default;
|
Date = new System.Int64();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -32,7 +32,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
Seed = default;
|
Seed = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -44,7 +44,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
Seed = default;
|
Seed = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -56,8 +56,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
LoginType = default;
|
LoginType = (LoginType)0;
|
||||||
DeviceType = default;
|
DeviceType = (DeviceType)0;
|
||||||
DeviceStr = string.Empty;
|
DeviceStr = string.Empty;
|
||||||
Account = string.Empty;
|
Account = string.Empty;
|
||||||
Password = string.Empty;
|
Password = string.Empty;
|
||||||
@ -76,8 +76,8 @@ namespace AxibugProtobuf
|
|||||||
Token = string.Empty;
|
Token = string.Empty;
|
||||||
LastLoginDate = string.Empty;
|
LastLoginDate = string.Empty;
|
||||||
RegDate = string.Empty;
|
RegDate = string.Empty;
|
||||||
Status = default;
|
Status = (LoginResultStatus)0;
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -89,9 +89,9 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
TokenGenDate = default;
|
TokenGenDate = new System.Int64();
|
||||||
Seed = default;
|
Seed = new System.Int64();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -114,7 +114,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UserCount = default;
|
UserCount = 0;
|
||||||
UserList?.Clear();
|
UserList?.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -139,7 +139,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,8 +151,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
State = default;
|
State = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -164,9 +164,9 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
NickName = string.Empty;
|
NickName = string.Empty;
|
||||||
DeviceType = default;
|
DeviceType = (DeviceType)0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -213,7 +213,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UID = default;
|
UID = new System.Int64();
|
||||||
UserInfo?.Reset();
|
UserInfo?.Reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -249,14 +249,14 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
GameRomID = default;
|
GameRomID = 0;
|
||||||
GameRomHash = string.Empty;
|
GameRomHash = string.Empty;
|
||||||
GamePlatformType = default;
|
GamePlatformType = (RomPlatformType)0;
|
||||||
HostPlayerUID = default;
|
HostPlayerUID = new System.Int64();
|
||||||
GameState = default;
|
GameState = (RoomGameState)0;
|
||||||
ObsUserCount = default;
|
ObsUserCount = 0;
|
||||||
ScreenProviderUID = default;
|
ScreenProviderUID = new System.Int64();
|
||||||
GamePlaySlotList?.Clear();
|
GamePlaySlotList?.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -269,11 +269,11 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
PlayerUID = default;
|
PlayerUID = new System.Int64();
|
||||||
PlayerNickName = string.Empty;
|
PlayerNickName = string.Empty;
|
||||||
DeviceType = default;
|
DeviceType = (DeviceType)0;
|
||||||
PlayerLocalJoyIdx = default;
|
PlayerLocalJoyIdx = 0;
|
||||||
PlayerLocalGamePadType = default;
|
PlayerLocalGamePadType = (GamePadType)0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -285,7 +285,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
UpdateType = default;
|
UpdateType = 0;
|
||||||
RoomMiniInfo?.Reset();
|
RoomMiniInfo?.Reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -298,8 +298,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
FrameID = default;
|
FrameID = 0;
|
||||||
RawBitmap = Google.Protobuf.ByteString.Empty;
|
RawBitmap = Google.Protobuf.ByteString.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -312,8 +312,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
FrameID = default;
|
FrameID = new System.UInt32();
|
||||||
InputData = default;
|
InputData = new System.UInt64();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -325,10 +325,10 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
FrameID = default;
|
FrameID = new System.UInt32();
|
||||||
InputData = default;
|
InputData = new System.UInt64();
|
||||||
ServerFrameID = default;
|
ServerFrameID = new System.UInt32();
|
||||||
ServerForwardCount = default;
|
ServerForwardCount = new System.UInt32();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -340,7 +340,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
GameRomID = default;
|
GameRomID = 0;
|
||||||
GameRomHash = string.Empty;
|
GameRomHash = string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -365,7 +365,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -389,7 +389,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -401,7 +401,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -437,9 +437,9 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
PlayerSlotIdx = default;
|
PlayerSlotIdx = 0;
|
||||||
PlayerLocalJoyIdx = default;
|
PlayerLocalJoyIdx = 0;
|
||||||
PlayerLocalGamePadType = default;
|
PlayerLocalGamePadType = (GamePadType)0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -462,7 +462,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
WaitStep = default;
|
WaitStep = 0;
|
||||||
LoadStateRaw = Google.Protobuf.ByteString.Empty;
|
LoadStateRaw = Google.Protobuf.ByteString.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -498,10 +498,10 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
PushFrameNeedTimeUs = default;
|
PushFrameNeedTimeUs = 0f;
|
||||||
LoadStateNeedTimeUs = default;
|
LoadStateNeedTimeUs = 0f;
|
||||||
VideoFrameShowNeedTimeUs = default;
|
VideoFrameShowNeedTimeUs = 0f;
|
||||||
AudioFramePlayNeedTimeUs = default;
|
AudioFramePlayNeedTimeUs = 0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -513,7 +513,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -525,8 +525,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RoomID = default;
|
RoomID = 0;
|
||||||
FrameID = default;
|
FrameID = 0;
|
||||||
RawBitmap = Google.Protobuf.ByteString.Empty;
|
RawBitmap = Google.Protobuf.ByteString.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -539,8 +539,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
Motion = default;
|
Motion = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -552,9 +552,9 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
IsStar = default;
|
IsStar = 0;
|
||||||
Stars = default;
|
Stars = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -566,7 +566,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -578,7 +578,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavDataList?.Clear();
|
SavDataList?.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -591,18 +591,18 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
BHadSaveData = default;
|
BHadSaveData = false;
|
||||||
SavID = default;
|
SavID = new System.Int64();
|
||||||
Uid = default;
|
Uid = new System.Int64();
|
||||||
SavDataIdx = default;
|
SavDataIdx = 0;
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
GamePlatformType = default;
|
GamePlatformType = (RomPlatformType)0;
|
||||||
SavDate = string.Empty;
|
SavDate = string.Empty;
|
||||||
SavName = string.Empty;
|
SavName = string.Empty;
|
||||||
Note = string.Empty;
|
Note = string.Empty;
|
||||||
SavImgUrl = string.Empty;
|
SavImgUrl = string.Empty;
|
||||||
SavUrl = string.Empty;
|
SavUrl = string.Empty;
|
||||||
Sequence = default;
|
Sequence = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -614,8 +614,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavDataIdx = default;
|
SavDataIdx = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -627,8 +627,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavDataIdx = default;
|
SavDataIdx = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -640,13 +640,13 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavDataIdx = default;
|
SavDataIdx = 0;
|
||||||
Name = string.Empty;
|
Name = string.Empty;
|
||||||
Note = string.Empty;
|
Note = string.Empty;
|
||||||
SavImg = Google.Protobuf.ByteString.Empty;
|
SavImg = Google.Protobuf.ByteString.Empty;
|
||||||
StateRaw = Google.Protobuf.ByteString.Empty;
|
StateRaw = Google.Protobuf.ByteString.Empty;
|
||||||
Sequence = default;
|
Sequence = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -658,8 +658,8 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavDataIdx = default;
|
SavDataIdx = 0;
|
||||||
UploadSevInfo?.Reset();
|
UploadSevInfo?.Reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -672,7 +672,7 @@ namespace AxibugProtobuf
|
|||||||
{
|
{
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
RomID = default;
|
RomID = 0;
|
||||||
SavImg = Google.Protobuf.ByteString.Empty;
|
SavImg = Google.Protobuf.ByteString.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -724,8 +724,8 @@ namespace AxibugProtobuf
|
|||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
KeyName = string.Empty;
|
KeyName = string.Empty;
|
||||||
Rows = default;
|
Rows = 0;
|
||||||
Cols = default;
|
Cols = 0;
|
||||||
Raw = Google.Protobuf.ByteString.Empty;
|
Raw = Google.Protobuf.ByteString.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user