Commit 570358bf authored by Unicorn369's avatar Unicorn369

Merge branch 'Test' of https://github.com/Unicorn369/YGOPro2_Droid into Android

parents 1e013256 7cdf01df
......@@ -13,6 +13,7 @@ ExportedObj/
.consulo/
*.csproj
*.unityproj
Library_
*.sln
*.suo
*.tmp
......@@ -52,6 +53,7 @@ replay/
sound/
texture/
textures/
update/
updates/
cards.cdb
lflist.conf
......
......@@ -444,7 +444,6 @@ public class Room : WindowServantSP
else if (Regex.IsMatch(roomname, @"(\w{1,}[,^]{1}T[,#])?(?(1)|(^T[#,]))"))
{
tags.Add("[D14291][TAG] ");
}
}
else
......
......@@ -392,12 +392,8 @@ public class Servant
public string currentMShash;
public string nameFace;
private GameObject currentMSwindow = null;
private GameObject currentMSwindow_Face = null;
public class messageSystemValue
{
public string value = "";
......@@ -769,6 +765,12 @@ public class Servant
Program.I().cardDescription.mLog(hint);
}
UIInput inputUrl;
public string nameFace;
private GameObject currentMSwindow_Face = null;
public void RMSshow_face(string hashCode, string name)
{
RMSshow_clear();
......@@ -787,6 +789,7 @@ public class Servant
nameFace = name;
currentMSwindow_Face = currentMSwindow;
UIHelper.InterGameObject(currentMSwindow);
inputUrl = UIHelper.getByName<UIInput>(currentMSwindow, "input_");
UIHelper.getByName<UITexture>(currentMSwindow, "face_").mainTexture = UIHelper.getFace(name);
UIHelper.registEvent(currentMSwindow, "exit_", ES_RMSpremono, new messageSystemValue());
UIHelper.registEvent(currentMSwindow, "yes_", DownloadFace);
......@@ -794,14 +797,19 @@ public class Servant
public void DownloadFace()
{
//获取QQ号
UIInput inputHttp = UIHelper.getByName<UIInput>(currentMSwindow_Face, "input_");
//如果使用自定义url,而不是QQ头像,请修改url,改为:string url = inputHttp.value;
string url = "http://q1.qlogo.cn/headimg_dl?dst_uin=" + inputHttp.value + "&spec=100";
string url = "http://q1.qlogo.cn/headimg_dl?dst_uin=" + inputUrl.value + "&spec=100";
string face = "textures/face/" + nameFace + ".jpg";
//开始下载
HttpDldFile df = new HttpDldFile();
df.Download(url, face);
if (inputUrl.value.Substring(0, 4) == "http")
{
url = inputUrl.value;
df.Download(url, face); //使用自定义Url
}
else
{
df.Download(url, face); //使用QQ头像
}
//刷新头像
if (File.Exists(face))
{
......
......@@ -141,12 +141,12 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 169062}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 75, z: 0}
m_LocalPosition: {x: 0, y: 65, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 433660}
m_Father: {fileID: 455166}
m_RootOrder: 4
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &414702
Transform:
......@@ -159,7 +159,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 0
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &424418
Transform:
......@@ -185,7 +185,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 1
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &433660
Transform:
......@@ -226,7 +226,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 2
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &455166
Transform:
......@@ -238,6 +238,8 @@ Transform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4023102027749706}
- {fileID: 4674617620369270}
- {fileID: 414702}
- {fileID: 425056}
- {fileID: 449418}
......@@ -735,7 +737,7 @@ MonoBehaviour:
anchorOffset: 0
softBorderPadding: 1
renderQueue: 0
startingRenderQueue: 3004
startingRenderQueue: 3006
mClipTexture: {fileID: 2800000, guid: b1f30c8a0354cd94dade78759be28008, type: 3}
mAlpha: 1
mClipping: 1
......@@ -755,6 +757,22 @@ Prefab:
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 195852}
m_IsPrefabParent: 1
--- !u!1 &1096587922955756
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4023102027749706}
- component: {fileID: 114975401946822614}
m_Layer: 5
m_Name: '!lable'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1642922839665042
GameObject:
m_ObjectHideFlags: 1
......@@ -803,12 +821,41 @@ GameObject:
- component: {fileID: 4895653614194050}
- component: {fileID: 114632771777790222}
m_Layer: 5
m_Name: Label
m_Name: '!lable'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1847439276163418
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4674617620369270}
- component: {fileID: 114670513772843796}
m_Layer: 5
m_Name: line_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4023102027749706
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1096587922955756}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 145, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4473934484648920
Transform:
m_ObjectHideFlags: 1
......@@ -816,12 +863,25 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1659176517360734}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: -15, z: 0}
m_LocalPosition: {x: 0, y: -20, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4895653614194050}
m_Father: {fileID: 455166}
m_RootOrder: 5
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4674617620369270
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1847439276163418}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 130, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4895653614194050
Transform:
......@@ -830,7 +890,7 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1720769508036278}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -140, y: 12, z: 0}
m_LocalPosition: {x: -200, y: 12, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4473934484648920}
......@@ -843,11 +903,11 @@ Transform:
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1642922839665042}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 220, y: 143, z: 0}
m_LocalPosition: {x: 220, y: 145, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 455166}
m_RootOrder: 3
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &65021167359904882
BoxCollider:
......@@ -859,7 +919,7 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 280, y: 40, z: 0}
m_Size: {x: 400, y: 40, z: 0}
m_Center: {x: 0, y: 0, z: 0}
--- !u!65 &65634783695434124
BoxCollider:
......@@ -918,13 +978,13 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 280
mWidth: 400
mHeight: 40
mDepth: 30
autoResizeBoxCollider: 1
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 7
aspectRatio: 10
mType: 1
mFillDirection: 4
mFillAmount: 1
......@@ -954,7 +1014,7 @@ MonoBehaviour:
onReturnKey: 0
keyboardType: 0
hideInput: 0
validation: 1
validation: 0
characterLimit: 0
savedAs:
selectOnTab: {fileID: 0}
......@@ -1075,17 +1135,17 @@ MonoBehaviour:
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 0.40392157}
mPivot: 0
mWidth: 280
mWidth: 400
mHeight: 32
mDepth: 21
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 8.75
aspectRatio: 12.5
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f775853fdfd14bb47934543e95c3bae3, type: 3}
mFont: {fileID: 0}
mText: "\u5728\u6B64\u8F93\u5165QQ\u53F7"
mText: "QQ\u53F7 \u6216 \u56FE\u7247\u94FE\u63A5"
mFontSize: 27
mFontStyle: 0
mAlignment: 2
......@@ -1111,6 +1171,56 @@ MonoBehaviour:
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!114 &114670513772843796
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1847439276163418}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1b3dc54f924693f41b5cbecb267e647a, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: 18
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: -14
bottomAnchor:
target: {fileID: 0}
relative: 1
absolute: -54
topAnchor:
target: {fileID: 0}
relative: 1
absolute: -49
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 480
mHeight: 5
mDepth: 2
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 96
mType: 0
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mAtlas: {fileID: 11422656, guid: 1b5c469d95cc74b4e9f655da6f9dd392, type: 2}
mSpriteName: lineWin
mFillCenter: 1
--- !u!114 &114922062941107210
MonoBehaviour:
m_ObjectHideFlags: 1
......@@ -1134,3 +1244,69 @@ MonoBehaviour:
onFinished: []
eventReceiver: {fileID: 0}
callWhenFinished:
--- !u!114 &114975401946822614
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1096587922955756}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: 27
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: -43
bottomAnchor:
target: {fileID: 0}
relative: 1
absolute: -48
topAnchor:
target: {fileID: 0}
relative: 1
absolute: -26
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 480
mHeight: 22
mDepth: 1
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 21.818182
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
mFont: {fileID: 0}
mText: "\u5934\u50CF\u9884\u89C8"
mFontSize: 18
mFontStyle: 0
mAlignment: 1
mEncoding: 1
mMaxLineCount: 0
mEffectStyle: 1
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
mSymbols: 1
mEffectDistance: {x: 1, y: 1}
mOverflow: 0
mMaterial: {fileID: 0}
mApplyGradient: 1
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
mSpacingX: 0
mSpacingY: 0
mUseFloatSpacing: 0
mFloatSpacingX: 0
mFloatSpacingY: 0
mOverflowEllipsis: 0
mShrinkToFit: 0
mMaxLineWidth: 0
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment