chateditimageobject.cs
来自「破解的飞信源代码」· CS 代码 · 共 67 行
CS
67 行
namespace Imps.Client.Pc.BizControls
{
using Imps.Client.Core.CustomEmotion;
using Imps.Utils;
using System;
public class ChatEditImageObject : ChatEditOleObject
{
private Imps.Client.Core.CustomEmotion.CustomEmotion _customEmotion;
private int _elapsedTime;
private AmigoImage _image;
public ChatEditImageObject(int index, AmigoImage image) : this(null, index, string.Empty, image)
{
}
public ChatEditImageObject(OleKey key, int index, string text, AmigoImage image) : base(key, index, text)
{
if (image.CycleCount <= 0)
{
this._image = image;
}
else
{
this._image = image.Clone();
}
}
public Imps.Client.Core.CustomEmotion.CustomEmotion CustomEmotion
{
get
{
return this._customEmotion;
}
set
{
this._customEmotion = value;
}
}
public int ElapsedTime
{
get
{
return this._elapsedTime;
}
set
{
this._elapsedTime = value;
}
}
internal AmigoImage ObjectImage
{
get
{
return this._image;
}
set
{
this._image = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?