您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
106 行
3.4 KiB
106 行
3.4 KiB
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace MetaCity.BundleKit.Editor
|
|
{
|
|
public class UrlResponse
|
|
{
|
|
public string url { get; set; }
|
|
}
|
|
|
|
public class UserResponse
|
|
{
|
|
public string id { get; set; }
|
|
public string userName { get; set; }
|
|
public string displayName { get; set; }
|
|
public string description { get; set; }
|
|
public string character { get; set; }
|
|
public string avatar { get; set; }
|
|
public List<string> roles { get; set; }
|
|
}
|
|
|
|
public class TemplateResponse
|
|
{
|
|
public string id { get; set; }
|
|
public string name { get; set; }
|
|
public string description { get; set; }
|
|
[CanBeNull] public string banner { get; set; }
|
|
public bool? official { get; set; }
|
|
public string activeId { get; set; }
|
|
public string platform { get; set; }
|
|
[CanBeNull] public string uosId { get; set; }
|
|
public string state { get; set; }
|
|
public string createdBy { get; set; }
|
|
public DateTime createdAt { get; set; }
|
|
public DateTime updatedAt { get; set; }
|
|
}
|
|
|
|
public class AssetBundleResponse
|
|
{
|
|
public string id { get; set; }
|
|
public string bundleHash { get; set; }
|
|
public string bundleName { get; set; }
|
|
public string bundlePath { get; set; }
|
|
public string bundleType { get; set; }
|
|
public string[] bundleDependencies { get; set; }
|
|
public string platform { get; set; }
|
|
public string extraInfo { get; set; }
|
|
public bool isPublic { get; set; }
|
|
public string createdBy { get; set; }
|
|
public DateTime createdAt { get; set; }
|
|
public DateTime updatedAt { get; set; }
|
|
}
|
|
|
|
public class CloudrenderingResponse
|
|
{
|
|
public string id { get; set; }
|
|
public string name { get; set; }
|
|
public string description { get; set; }
|
|
public string templateId { get; set; }
|
|
public string version { get; set; }
|
|
public string crId { get; set; }
|
|
public string createdBy { get; set; }
|
|
public DateTime createdAt { get; set; }
|
|
public DateTime updatedAt { get; set; }
|
|
}
|
|
|
|
public class TemplateInput
|
|
{
|
|
public string name { get; set; }
|
|
public string description { get; set; }
|
|
public object banner { get; set; }
|
|
public bool? official { get; set; }
|
|
public string activeId { get; set; }
|
|
public string platform { get; set; }
|
|
public string uosId { get; set; }
|
|
public string state { get; set; }
|
|
}
|
|
|
|
public class CreateCRInput
|
|
{
|
|
public string name { get; set; }
|
|
public string description { get; set; }
|
|
public string version { get; set; }
|
|
public string template { get; set; }
|
|
public string crId { get; set; }
|
|
}
|
|
|
|
public class PublishInput
|
|
{
|
|
public string userId { get; set; }
|
|
public string developerId { get; set; }
|
|
public string templateId { get; set; }
|
|
public string cloudrenderingId { get; set; }
|
|
public string serverType { get; set; }
|
|
public List<AssetBundle> assetBundles { get; set; }
|
|
}
|
|
|
|
public class PublishAssetBundleInput
|
|
{
|
|
public List<AssetBundle> assetBundles { get; set; }
|
|
}
|
|
|
|
}
|
|
|