mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
提交
This commit is contained in:
32
JNFrame2/临时存储/GameScripts/App.cs
Normal file
32
JNFrame2/临时存储/GameScripts/App.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using HotScripts.GameScripts.FGui;
|
||||
using HotScripts.GameScripts.Luban;
|
||||
using JNGame.Runtime.System;
|
||||
using JNGame.Util;
|
||||
|
||||
namespace HotScripts.GameScripts
|
||||
{
|
||||
public class App
|
||||
{
|
||||
|
||||
//Launcher 事件
|
||||
public static SHFrame.EventDispatcher EventLauncher => SHFrame.EventUtil.Dispatcher;
|
||||
//App 事件
|
||||
public static EventDispatcher Event = new EventDispatcher();
|
||||
|
||||
//Luban 配置
|
||||
public static LubanManager Luban = new LubanManager();
|
||||
|
||||
//UI
|
||||
public static FGuiManager UI = new FGuiManager();
|
||||
|
||||
public static SystemBase[] AllSystem()
|
||||
{
|
||||
return new SystemBase[]
|
||||
{
|
||||
Luban,
|
||||
UI,
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
3
JNFrame2/临时存储/GameScripts/App.cs.meta
Normal file
3
JNFrame2/临时存储/GameScripts/App.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aedb4fd39b0f485c969f89c15ee8ed8e
|
||||
timeCreated: 1729066668
|
8
JNFrame2/临时存储/GameScripts/FGui.meta
Normal file
8
JNFrame2/临时存储/GameScripts/FGui.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f6f997587afcb840b9139ce8a3ff3b2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
95
JNFrame2/临时存储/GameScripts/FGui/FGuiManager.cs
Normal file
95
JNFrame2/临时存储/GameScripts/FGui/FGuiManager.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Common;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using FairyGUI;
|
||||
// using HotScripts.GameLauncher;
|
||||
using JNGame.Runtime.System;
|
||||
using MainUI;
|
||||
using SHFrame;
|
||||
|
||||
namespace HotScripts.GameScripts.FGui
|
||||
{
|
||||
|
||||
public enum UILayerEnum
|
||||
{
|
||||
View,
|
||||
}
|
||||
|
||||
public enum UIID
|
||||
{
|
||||
Component1
|
||||
}
|
||||
|
||||
/**
|
||||
* UI 配置结构体
|
||||
*/
|
||||
public struct UIConfigStruct
|
||||
{
|
||||
public readonly string PkgName;
|
||||
public readonly string ResName;
|
||||
public readonly UILayerEnum Layer;
|
||||
|
||||
public UIConfigStruct(string pkgName, string resName, UILayerEnum layer)
|
||||
{
|
||||
PkgName = pkgName;
|
||||
ResName = resName;
|
||||
Layer = layer;
|
||||
}
|
||||
}
|
||||
|
||||
public class FGuiManager : SystemBase
|
||||
{
|
||||
|
||||
private UI_MainUI _mainUI;
|
||||
|
||||
public static Dictionary<UIID, UIConfigStruct> UIConfigMap = new();
|
||||
public static Dictionary<UILayerEnum, GComponent> LayerMap = new();
|
||||
|
||||
public override async Task OnInit()
|
||||
{
|
||||
await UniTask.DelayFrame(1);
|
||||
Log.Debug($"UI 初始化中");
|
||||
// App.EventLauncher.DispatchEvent(HotLauncherEvent.InitSystem,$"UI 初始化中");
|
||||
|
||||
BindAll();
|
||||
BindUI();
|
||||
|
||||
await SHFrameModule.UI.AddPackageASync("MainUI");
|
||||
|
||||
_mainUI = UI_MainUI.CreateInstance();
|
||||
_mainUI.MakeFullScreen();
|
||||
GRoot.inst.AddChildAt(_mainUI,0);
|
||||
_mainUI.Center();
|
||||
|
||||
LayerMap.Add(UILayerEnum.View,_mainUI.m_View);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定UI包
|
||||
/// </summary>
|
||||
private void BindAll()
|
||||
{
|
||||
MainUIBinder.BindAll();
|
||||
CommonBinder.BindAll();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定UI配置
|
||||
/// </summary>
|
||||
private void BindUI()
|
||||
{
|
||||
UIConfigMap.Add(UIID.Component1,new UIConfigStruct("Common", "Component1", UILayerEnum.View));
|
||||
}
|
||||
|
||||
|
||||
public async UniTask Open<TClassType>(UIID id, params object[] param)
|
||||
where TClassType : UIBase, new()
|
||||
{
|
||||
if (!UIConfigMap.ContainsKey(id)) return;
|
||||
var config = UIConfigMap[id];
|
||||
await SHFrameModule.UI.Open<TClassType>(config.PkgName, config.ResName, LayerMap[config.Layer], param);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
3
JNFrame2/临时存储/GameScripts/FGui/FGuiManager.cs.meta
Normal file
3
JNFrame2/临时存储/GameScripts/FGui/FGuiManager.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ffd157506c074a2f8ff4779145edd5c7
|
||||
timeCreated: 1729070320
|
8
JNFrame2/临时存储/GameScripts/FGui/Publish.meta
Normal file
8
JNFrame2/临时存储/GameScripts/FGui/Publish.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53684cc614eb0d94093256725a1ff85c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
JNFrame2/临时存储/GameScripts/FGui/Publish/Common.meta
Normal file
8
JNFrame2/临时存储/GameScripts/FGui/Publish/Common.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec925952c92c52d46a374f4996e7fcf9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,14 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
|
||||
namespace Common
|
||||
{
|
||||
public class CommonBinder
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(UI_Component1.URL, typeof(UI_Component1));
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b2179ed09e9d7f4a9dd5e03d08b08da
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace Common
|
||||
{
|
||||
public partial class UI_Component1 : GComponent
|
||||
{
|
||||
public GTextField m_text;
|
||||
public const string URL = "ui://k5vyqumwed8i0";
|
||||
|
||||
public static UI_Component1 CreateInstance()
|
||||
{
|
||||
return (UI_Component1)UIPackage.CreateObject("Common", "Component1");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
m_text = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2944078da6fa13c44aa673e785abacc3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
JNFrame2/临时存储/GameScripts/FGui/Publish/MainUI.meta
Normal file
8
JNFrame2/临时存储/GameScripts/FGui/Publish/MainUI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b25135b33b98e84e95daed24165f505
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,14 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
|
||||
namespace MainUI
|
||||
{
|
||||
public class MainUIBinder
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(UI_MainUI.URL, typeof(UI_MainUI));
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 721eb44138614964c8dec2ce404398bd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
25
JNFrame2/临时存储/GameScripts/FGui/Publish/MainUI/UI_MainUI.cs
Normal file
25
JNFrame2/临时存储/GameScripts/FGui/Publish/MainUI/UI_MainUI.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace MainUI
|
||||
{
|
||||
public partial class UI_MainUI : GComponent
|
||||
{
|
||||
public GComponent m_View;
|
||||
public const string URL = "ui://r71rr38pue300";
|
||||
|
||||
public static UI_MainUI CreateInstance()
|
||||
{
|
||||
return (UI_MainUI)UIPackage.CreateObject("MainUI", "MainUI");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
m_View = (GComponent)GetChildAt(0);
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28a105b28e995ad4e98285dadd478b9e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
3
JNFrame2/临时存储/GameScripts/FGui/Scripts.meta
Normal file
3
JNFrame2/临时存储/GameScripts/FGui/Scripts.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd7951464b584f01817913ada89e1e39
|
||||
timeCreated: 1729070943
|
27
JNFrame2/临时存储/GameScripts/FGui/Scripts/UIScriptDefault.cs
Normal file
27
JNFrame2/临时存储/GameScripts/FGui/Scripts/UIScriptDefault.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using SHFrame;
|
||||
|
||||
namespace HotScripts.GameScripts.FGui.Scripts
|
||||
{
|
||||
public class UIScriptDefault : UIBase
|
||||
{
|
||||
public override void OnInit()
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnOpen(params object[] param)
|
||||
{
|
||||
}
|
||||
|
||||
public override void AddListener()
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnClose()
|
||||
{
|
||||
}
|
||||
|
||||
public override void RemoveListener()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e13b365d0e74205977b79a2cd6fe711
|
||||
timeCreated: 1729071032
|
22
JNFrame2/临时存储/GameScripts/GameScripts.asmdef
Normal file
22
JNFrame2/临时存储/GameScripts/GameScripts.asmdef
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "GameScripts",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:f4270d81837019d47b93f11421168dae",
|
||||
"GUID:2a81c6962524d424a8ef5072bd3b0fa0",
|
||||
"GUID:a6f7937b7f28906409a3ea3ceb2316c6",
|
||||
"GUID:e34a5702dd353724aa315fb8011f08c3",
|
||||
"GUID:f51ebe6a0ceec4240a699833d6309b23",
|
||||
"GUID:23aed7c57bb0a5d49aeaef92abb5bfff",
|
||||
"GUID:b12e2c634b4214e4bab66a9cac501248"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
7
JNFrame2/临时存储/GameScripts/GameScripts.asmdef.meta
Normal file
7
JNFrame2/临时存储/GameScripts/GameScripts.asmdef.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30cdc49ab6f9ba240b6b000711d4e038
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
51
JNFrame2/临时存储/GameScripts/HotGameMain.cs
Normal file
51
JNFrame2/临时存储/GameScripts/HotGameMain.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
// using HotScripts.GameLauncher;
|
||||
using HotScripts.GameScripts.FGui;
|
||||
using HotScripts.GameScripts.FGui.Scripts;
|
||||
using JNGame.Runtime;
|
||||
using JNGame;
|
||||
using SHFrame;
|
||||
using UnityEngine;
|
||||
using EventArgs = SHFrame.EventArgs;
|
||||
|
||||
namespace HotScripts.GameScripts
|
||||
{
|
||||
public class HotGameMain : MonoBehaviour
|
||||
{
|
||||
private async void Awake()
|
||||
{
|
||||
|
||||
AddListener();
|
||||
|
||||
//初始化系统
|
||||
await JNetGame.Instance.Init(App.AllSystem());
|
||||
|
||||
// //初始化成功
|
||||
// App.EventLauncher.DispatchEvent(HotLauncherEvent.InitSuccess);
|
||||
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
RemoveListener();
|
||||
}
|
||||
|
||||
|
||||
private void AddListener()
|
||||
{
|
||||
// App.EventLauncher.AddListener(HotLauncherEvent.GoGameMain,OnGoGameMain);
|
||||
}
|
||||
|
||||
private void RemoveListener()
|
||||
{
|
||||
// App.EventLauncher.RemoveListener(HotLauncherEvent.GoGameMain,OnGoGameMain);
|
||||
}
|
||||
|
||||
private async void OnGoGameMain(EventArgs eventargs)
|
||||
{
|
||||
Log.Debug($"进入游戏");
|
||||
await App.UI.Open<UIScriptDefault>(UIID.Component1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
3
JNFrame2/临时存储/GameScripts/HotGameMain.cs.meta
Normal file
3
JNFrame2/临时存储/GameScripts/HotGameMain.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d6cf1653d954568a1d5ff6438c19c56
|
||||
timeCreated: 1729067120
|
8
JNFrame2/临时存储/GameScripts/Luban.meta
Normal file
8
JNFrame2/临时存储/GameScripts/Luban.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ec1fdd148332ce438190792d6e1484e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
JNFrame2/临时存储/GameScripts/Luban/Gen.meta
Normal file
8
JNFrame2/临时存储/GameScripts/Luban/Gen.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47e17cb7353420c4693cc1c59fa27173
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
69
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbBattleResource.cs
Normal file
69
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbBattleResource.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbBattleResource : Luban.BeanBase
|
||||
{
|
||||
public TbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Path = _buf.ReadString();
|
||||
Type = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbBattleResource DeserializeTbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbBattleResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源介绍
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 资源路径
|
||||
/// </summary>
|
||||
public readonly string Path;
|
||||
/// <summary>
|
||||
/// 资源类型(0.Spine,1.Sprite)
|
||||
/// </summary>
|
||||
public readonly int Type;
|
||||
|
||||
public const int __ID__ = 509266580;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "path:" + Path + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 269fdd0480994954b821e0d976532cfb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttribute.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttribute.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGAttribute : Luban.BeanBase
|
||||
{
|
||||
public TbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Sign = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGAttribute DeserializeTbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGAttribute(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 属性名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 属性标识
|
||||
/// </summary>
|
||||
public readonly string Sign;
|
||||
|
||||
public const int __ID__ = 1361501859;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "sign:" + Sign + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttribute.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttribute.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93d90c0b22b82d24b8f407268302a13c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttributeFC.cs
Normal file
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGAttributeFC.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGAttributeFC : Luban.BeanBase
|
||||
{
|
||||
public TbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGAttributeFC DeserializeTbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGAttributeFC(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对应属性Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 战力
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = -1561736544;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f40024bbd6c040a4bb55d65974e29594
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGift.cs
Normal file
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGift.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGGift : Luban.BeanBase
|
||||
{
|
||||
public TbGGift(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
Limit = (TbGEnum.TGiftLimit)_buf.ReadInt();
|
||||
LimitValue = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Exchanges = new TbGEntity.TResource[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TResource __e0;__e0 = TbGEntity.TResource.DeserializeTResource(_buf); Exchanges[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Rewards = new TbGEntity.TReward[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TReward __e0;__e0 = TbGEntity.TReward.DeserializeTReward(_buf); Rewards[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGGift DeserializeTbGGift(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGGift(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 礼包唯一Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 礼包名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 礼包购买限制
|
||||
/// </summary>
|
||||
public readonly TbGEnum.TGiftLimit Limit;
|
||||
/// <summary>
|
||||
/// 限购数量
|
||||
/// </summary>
|
||||
public readonly int LimitValue;
|
||||
/// <summary>
|
||||
/// 兑换的资源
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource[] Exchanges;
|
||||
/// <summary>
|
||||
/// 奖励
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TReward[] Rewards;
|
||||
|
||||
public const int __ID__ = 319065289;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
foreach (var _e in Exchanges) { _e?.ResolveRef(tables); }
|
||||
foreach (var _e in Rewards) { _e?.ResolveRef(tables); }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "limit:" + Limit + ","
|
||||
+ "limitValue:" + LimitValue + ","
|
||||
+ "exchanges:" + Luban.StringUtil.CollectionToString(Exchanges) + ","
|
||||
+ "rewards:" + Luban.StringUtil.CollectionToString(Rewards) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGift.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGift.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7cb2342c48155a49be45fd36bce4554
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGlobal.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGlobal.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGGlobal : Luban.BeanBase
|
||||
{
|
||||
public TbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGGlobal DeserializeTbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGGlobal(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = 1682089212;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGlobal.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGGlobal.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c248079d52dd8c04a8c70a13327bddc9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
104
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGMap.cs
Normal file
104
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGMap.cs
Normal file
@@ -0,0 +1,104 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGMap : Luban.BeanBase
|
||||
{
|
||||
public TbGMap(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
MapName = _buf.ReadString();
|
||||
Map1 = _buf.ReadInt();
|
||||
Map2 = _buf.ReadInt();
|
||||
Map3 = _buf.ReadInt();
|
||||
Map1OffsetY = _buf.ReadInt();
|
||||
Map2OffsetY = _buf.ReadInt();
|
||||
Map3OffsetY = _buf.ReadInt();
|
||||
Scale = _buf.ReadFloat();
|
||||
}
|
||||
|
||||
public static TbGMap DeserializeTbGMap(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGMap(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 地图名称
|
||||
/// </summary>
|
||||
public readonly string MapName;
|
||||
/// <summary>
|
||||
/// 地图1(前)
|
||||
/// </summary>
|
||||
public readonly int Map1;
|
||||
/// <summary>
|
||||
/// 地图2(后)
|
||||
/// </summary>
|
||||
public readonly int Map2;
|
||||
/// <summary>
|
||||
/// 地图3(天空)
|
||||
/// </summary>
|
||||
public readonly int Map3;
|
||||
/// <summary>
|
||||
/// 地图1(前) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map1OffsetY;
|
||||
/// <summary>
|
||||
/// 地图2(后) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map2OffsetY;
|
||||
/// <summary>
|
||||
/// 地图2(后) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map3OffsetY;
|
||||
/// <summary>
|
||||
/// 地图缩放
|
||||
/// </summary>
|
||||
public readonly float Scale;
|
||||
|
||||
public const int __ID__ = -2067912029;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "mapName:" + MapName + ","
|
||||
+ "map1:" + Map1 + ","
|
||||
+ "map2:" + Map2 + ","
|
||||
+ "map3:" + Map3 + ","
|
||||
+ "map1OffsetY:" + Map1OffsetY + ","
|
||||
+ "map2OffsetY:" + Map2OffsetY + ","
|
||||
+ "map3OffsetY:" + Map3OffsetY + ","
|
||||
+ "scale:" + Scale + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGMap.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGMap.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd40852a212b7a4499d55dc2e3d7956a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookGlobal.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookGlobal.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookGlobal : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookGlobal(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGOnHookGlobal DeserializeTbGOnHookGlobal(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookGlobal(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = -340649858;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90a987e35d9735d4eb277a148dc9482a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMap120001.cs
Normal file
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMap120001.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookMap120001 : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookMap120001(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TOnHookLevel.DeserializeTOnHookLevel(_buf);
|
||||
}
|
||||
|
||||
public static TbGOnHookMap120001 DeserializeTbGOnHookMap120001(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookMap120001(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 关卡等级
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TOnHookLevel Data;
|
||||
|
||||
public const int __ID__ = 196461379;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f10828747f28eec4c87dc00d1e251b15
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMaps.cs
Normal file
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMaps.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookMaps : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookMaps(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
MapImage = _buf.ReadString();
|
||||
MapId = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);PetIds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); PetIds[__index0] = __e0;}}
|
||||
Sign = _buf.ReadString();
|
||||
Introduce = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGOnHookMaps DeserializeTbGOnHookMaps(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookMaps(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 地图名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 地图图片
|
||||
/// </summary>
|
||||
public readonly string MapImage;
|
||||
/// <summary>
|
||||
/// 地图场景Id
|
||||
/// </summary>
|
||||
public readonly int MapId;
|
||||
/// <summary>
|
||||
/// 地图上的宠物列表
|
||||
/// </summary>
|
||||
public readonly int[] PetIds;
|
||||
/// <summary>
|
||||
/// 地图标识(一般是地图的类名)
|
||||
/// </summary>
|
||||
public readonly string Sign;
|
||||
/// <summary>
|
||||
/// 地图介绍
|
||||
/// </summary>
|
||||
public readonly string Introduce;
|
||||
|
||||
public const int __ID__ = 1197577778;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "mapImage:" + MapImage + ","
|
||||
+ "mapId:" + MapId + ","
|
||||
+ "petIds:" + Luban.StringUtil.CollectionToString(PetIds) + ","
|
||||
+ "sign:" + Sign + ","
|
||||
+ "introduce:" + Introduce + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMaps.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGOnHookMaps.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e9367d3f2f5ddf4c8683d2e7b258f01
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
83
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGResource.cs
Normal file
83
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGResource.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGResource : Luban.BeanBase
|
||||
{
|
||||
public TbGResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Icon = _buf.ReadString();
|
||||
Name = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
Args = _buf.ReadString();
|
||||
Quality = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGResource DeserializeTbGResource(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源图片
|
||||
/// </summary>
|
||||
public readonly string Icon;
|
||||
/// <summary>
|
||||
/// 资源名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 额外参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 资源品质
|
||||
/// </summary>
|
||||
public readonly int Quality;
|
||||
|
||||
public const int __ID__ = 1780642599;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "icon:" + Icon + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "quality:" + Quality + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGResource.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGResource.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9e46e03e53aab74da01c3271074361b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRole.cs
Normal file
90
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRole.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRole : Luban.BeanBase
|
||||
{
|
||||
public TbGRole(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
RoleName = _buf.ReadString();
|
||||
Spine = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);RoleSkillIds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); RoleSkillIds[__index0] = __e0;}}
|
||||
RoleAttackRange = _buf.ReadInt();
|
||||
RoleHight = _buf.ReadInt();
|
||||
RoleScale = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRole DeserializeTbGRole(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRole(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 角色名称
|
||||
/// </summary>
|
||||
public readonly string RoleName;
|
||||
/// <summary>
|
||||
/// 角色Spine资源Id
|
||||
/// </summary>
|
||||
public readonly int Spine;
|
||||
/// <summary>
|
||||
/// 角色技能Id列表
|
||||
/// </summary>
|
||||
public readonly int[] RoleSkillIds;
|
||||
/// <summary>
|
||||
/// 角色攻击范围
|
||||
/// </summary>
|
||||
public readonly int RoleAttackRange;
|
||||
/// <summary>
|
||||
/// 角色高度
|
||||
/// </summary>
|
||||
public readonly int RoleHight;
|
||||
/// <summary>
|
||||
/// 宠物默认缩放
|
||||
/// </summary>
|
||||
public readonly int RoleScale;
|
||||
|
||||
public const int __ID__ = 319398927;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "roleName:" + RoleName + ","
|
||||
+ "spine:" + Spine + ","
|
||||
+ "roleSkillIds:" + Luban.StringUtil.CollectionToString(RoleSkillIds) + ","
|
||||
+ "roleAttackRange:" + RoleAttackRange + ","
|
||||
+ "roleHight:" + RoleHight + ","
|
||||
+ "roleScale:" + RoleScale + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRole.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRole.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53f8d3d4cbdff6946a731cee6995e3dd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleAttack.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleAttack.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleAttack : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleAttack(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
AttackWay = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);AttackArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); AttackArgs[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGRoleAttack DeserializeTbGRoleAttack(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleAttack(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 攻击方式
|
||||
/// </summary>
|
||||
public readonly string AttackWay;
|
||||
/// <summary>
|
||||
/// 攻击参数
|
||||
/// </summary>
|
||||
public readonly string[] AttackArgs;
|
||||
|
||||
public const int __ID__ = -180357321;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "attackWay:" + AttackWay + ","
|
||||
+ "attackArgs:" + Luban.StringUtil.CollectionToString(AttackArgs) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleAttack.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleAttack.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81ec15b4e0033a04f9bf0afc57d00f75
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleBaseAttribute : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleBaseAttribute(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Blood = _buf.ReadInt();
|
||||
Attack = _buf.ReadInt();
|
||||
Defend = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleBaseAttribute DeserializeTbGRoleBaseAttribute(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleBaseAttribute(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id (0 则默认)
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 默认血量
|
||||
/// </summary>
|
||||
public readonly int Blood;
|
||||
/// <summary>
|
||||
/// 默认攻击属性
|
||||
/// </summary>
|
||||
public readonly int Attack;
|
||||
/// <summary>
|
||||
/// 默认防御属性
|
||||
/// </summary>
|
||||
public readonly int Defend;
|
||||
|
||||
public const int __ID__ = 1489419004;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "Blood:" + Blood + ","
|
||||
+ "Attack:" + Attack + ","
|
||||
+ "Defend:" + Defend + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d66af7acd0c37d140bed72832b9abd5e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
111
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquip.cs
Normal file
111
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquip.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquip : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquip(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Position = _buf.ReadInt();
|
||||
Quality = _buf.ReadInt();
|
||||
Icon = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);LevelBaseAttributesFactors = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); LevelBaseAttributesFactors[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);BaseAttributes = new TbGEntity.TAttributeValue[__n0][];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue[] __e0;{int __n1 = System.Math.Min(_buf.ReadSize(), _buf.Size);__e0 = new TbGEntity.TAttributeValue[__n1];for(var __index1 = 0 ; __index1 < __n1 ; __index1++) { TbGEntity.TAttributeValue __e1;__e1 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); __e0[__index1] = __e1;}} BaseAttributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);LevelHighAttributesFactors = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); LevelHighAttributesFactors[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);HighAttributes = new TbGEntity.TAttributeValue[__n0][];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue[] __e0;{int __n1 = System.Math.Min(_buf.ReadSize(), _buf.Size);__e0 = new TbGEntity.TAttributeValue[__n1];for(var __index1 = 0 ; __index1 < __n1 ; __index1++) { TbGEntity.TAttributeValue __e1;__e1 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); __e0[__index1] = __e1;}} HighAttributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);HighAttributeSize = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); HighAttributeSize[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGRoleEquip DeserializeTbGRoleEquip(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquip(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 装备名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 装备类别(1=武器/2=帽子/3=项链/4=护肩/5=衣服/6=腰带/7=手套/8=戒指/9=裤子/10=鞋子)
|
||||
/// </summary>
|
||||
public readonly int Position;
|
||||
/// <summary>
|
||||
/// 品质信息
|
||||
/// </summary>
|
||||
public readonly int Quality;
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
public readonly string Icon;
|
||||
/// <summary>
|
||||
/// 基础等级属性系数 (属性 * (等级 * 系数))
|
||||
/// </summary>
|
||||
public readonly int[] LevelBaseAttributesFactors;
|
||||
/// <summary>
|
||||
/// 基础属性(value - value 区间)
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[][] BaseAttributes;
|
||||
/// <summary>
|
||||
/// 高级等级属性系数 (属性 * (等级 * 系数))
|
||||
/// </summary>
|
||||
public readonly int[] LevelHighAttributesFactors;
|
||||
/// <summary>
|
||||
/// 高级属性(value - value 区间)
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[][] HighAttributes;
|
||||
/// <summary>
|
||||
/// 高级词条随机数量
|
||||
/// </summary>
|
||||
public readonly int[] HighAttributeSize;
|
||||
|
||||
public const int __ID__ = 1660355937;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "position:" + Position + ","
|
||||
+ "quality:" + Quality + ","
|
||||
+ "icon:" + Icon + ","
|
||||
+ "levelBaseAttributesFactors:" + Luban.StringUtil.CollectionToString(LevelBaseAttributesFactors) + ","
|
||||
+ "baseAttributes:" + Luban.StringUtil.CollectionToString(BaseAttributes) + ","
|
||||
+ "levelHighAttributesFactors:" + Luban.StringUtil.CollectionToString(LevelHighAttributesFactors) + ","
|
||||
+ "highAttributes:" + Luban.StringUtil.CollectionToString(HighAttributes) + ","
|
||||
+ "highAttributeSize:" + Luban.StringUtil.CollectionToString(HighAttributeSize) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquip.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquip.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81aaa72a16579a34791741bb4bf6a7c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquipLevel.cs
Normal file
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquipLevel.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipLevel : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipLevel(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Exp = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipLevel DeserializeTbGRoleEquipLevel(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipLevel(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 锻造的装备等级
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 所需经验
|
||||
/// </summary>
|
||||
public readonly int Exp;
|
||||
|
||||
public const int __ID__ = 294181539;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "exp:" + Exp + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5be6579ee27d70408a34ec4eaff2f17
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,76 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipQuality : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipQuality(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Odds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); Odds[__index0] = __e0;}}
|
||||
Total = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Materials = new TbGEntity.TResource[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TResource __e0;__e0 = TbGEntity.TResource.DeserializeTResource(_buf); Materials[__index0] = __e0;}}
|
||||
UpTime = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipQuality DeserializeTbGRoleEquipQuality(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipQuality(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 锻造品质等级
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 品质出现的概率
|
||||
/// </summary>
|
||||
public readonly int[] Odds;
|
||||
/// <summary>
|
||||
/// 总概率
|
||||
/// </summary>
|
||||
public readonly int Total;
|
||||
/// <summary>
|
||||
/// 升级消耗的材料
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource[] Materials;
|
||||
/// <summary>
|
||||
/// 升级所需时间(s)
|
||||
/// </summary>
|
||||
public readonly int UpTime;
|
||||
|
||||
public const int __ID__ = -177949602;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
foreach (var _e in Materials) { _e?.ResolveRef(tables); }
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "odds:" + Luban.StringUtil.CollectionToString(Odds) + ","
|
||||
+ "total:" + Total + ","
|
||||
+ "materials:" + Luban.StringUtil.CollectionToString(Materials) + ","
|
||||
+ "upTime:" + UpTime + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d4a1cbf8a1a63d49b74b884ec5b888f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquipType.cs
Normal file
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleEquipType.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipType : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipType(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipType DeserializeTbGRoleEquipType(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipType(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 类型Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
|
||||
public const int __ID__ = 1533767739;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6a41b2e385bf7944ab6698899d3d896c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
76
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleSkill.cs
Normal file
76
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleSkill.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleSkill : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleSkill(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
SkillName = _buf.ReadString();
|
||||
SkillController = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);SkillArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); SkillArgs[__index0] = __e0;}}
|
||||
SkillText = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGRoleSkill DeserializeTbGRoleSkill(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleSkill(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 技能名称
|
||||
/// </summary>
|
||||
public readonly string SkillName;
|
||||
/// <summary>
|
||||
/// 技能控制器
|
||||
/// </summary>
|
||||
public readonly string SkillController;
|
||||
/// <summary>
|
||||
/// 技能参数
|
||||
/// </summary>
|
||||
public readonly string[] SkillArgs;
|
||||
/// <summary>
|
||||
/// 技能介绍
|
||||
/// </summary>
|
||||
public readonly string SkillText;
|
||||
|
||||
public const int __ID__ = 1673095042;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "skillName:" + SkillName + ","
|
||||
+ "skillController:" + SkillController + ","
|
||||
+ "skillArgs:" + Luban.StringUtil.CollectionToString(SkillArgs) + ","
|
||||
+ "skillText:" + SkillText + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleSkill.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleSkill.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3bd10375ccefaed459330601a0837cba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
69
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpGrow.cs
Normal file
69
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpGrow.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleUpGrow : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleUpGrow(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Blood = _buf.ReadInt();
|
||||
Attack = _buf.ReadInt();
|
||||
Defend = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleUpGrow DeserializeTbGRoleUpGrow(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleUpGrow(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id (0 则默认)
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 血量成长
|
||||
/// </summary>
|
||||
public readonly int Blood;
|
||||
/// <summary>
|
||||
/// 攻击成长
|
||||
/// </summary>
|
||||
public readonly int Attack;
|
||||
/// <summary>
|
||||
/// 防御成长
|
||||
/// </summary>
|
||||
public readonly int Defend;
|
||||
|
||||
public const int __ID__ = 387207741;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "Blood:" + Blood + ","
|
||||
+ "Attack:" + Attack + ","
|
||||
+ "Defend:" + Defend + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpGrow.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpGrow.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 70652578842c30b409213ffb23957cc2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpStar.cs
Normal file
55
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpStar.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleUpStar : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleUpStar(ByteBuf _buf)
|
||||
{
|
||||
Grade = _buf.ReadInt();
|
||||
Merge = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleUpStar DeserializeTbGRoleUpStar(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleUpStar(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 宠物星级
|
||||
/// </summary>
|
||||
public readonly int Grade;
|
||||
/// <summary>
|
||||
/// 合成数量
|
||||
/// </summary>
|
||||
public readonly int Merge;
|
||||
|
||||
public const int __ID__ = 387566716;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "grade:" + Grade + ","
|
||||
+ "merge:" + Merge + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpStar.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGRoleUpStar.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fba718ac73e5c4b49914ba0ba34f7e4c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGShop.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGShop.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGShop : Luban.BeanBase
|
||||
{
|
||||
public TbGShop(ByteBuf _buf)
|
||||
{
|
||||
Tig = _buf.ReadString();
|
||||
GiftId = _buf.ReadInt();
|
||||
Type = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGShop DeserializeTbGShop(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGShop(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 礼包Id
|
||||
/// </summary>
|
||||
public readonly int GiftId;
|
||||
/// <summary>
|
||||
/// 0.点卷商店 1.金币商店
|
||||
/// </summary>
|
||||
public readonly int Type;
|
||||
|
||||
public const int __ID__ = 319422095;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "tig:" + Tig + ","
|
||||
+ "giftId:" + GiftId + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGShop.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGShop.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 185b740c1bec6b2439a1669a5d223f3d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
83
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGSysDungeon.cs
Normal file
83
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGSysDungeon.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Banner = _buf.ReadString();
|
||||
Type = _buf.ReadString();
|
||||
Tigs = _buf.ReadString();
|
||||
Consume = TbGEntity.TResource.DeserializeTResource(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon DeserializeTbGSysDungeon(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 副本封面
|
||||
/// </summary>
|
||||
public readonly string Banner;
|
||||
/// <summary>
|
||||
/// 游戏模式
|
||||
/// </summary>
|
||||
public readonly string Type;
|
||||
/// <summary>
|
||||
/// 类标识
|
||||
/// </summary>
|
||||
public readonly string Tigs;
|
||||
/// <summary>
|
||||
/// 消耗资源
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource Consume;
|
||||
|
||||
public const int __ID__ = 303165446;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Consume?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "banner:" + Banner + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "tigs:" + Tigs + ","
|
||||
+ "consume:" + Consume + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGSysDungeon.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbGSysDungeon.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38b73c3996b4b46448d308e3e25ce3b7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon160001 : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon160001(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TDungeon.DeserializeTDungeon(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon160001 DeserializeTbGSysDungeon160001(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon160001(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TDungeon Data;
|
||||
|
||||
public const int __ID__ = -319796436;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f29513a2a6ee3c748bc3be829d45115b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon160002 : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon160002(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TDungeon.DeserializeTDungeon(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon160002 DeserializeTbGSysDungeon160002(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon160002(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TDungeon Data;
|
||||
|
||||
public const int __ID__ = -319796435;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd3e8d7e26fa5e24aadc91f0aee48d8c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbSServerInfo.cs
Normal file
62
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbSServerInfo.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbSServerInfo : Luban.BeanBase
|
||||
{
|
||||
public TbSServerInfo(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbSServerInfo DeserializeTbSServerInfo(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbSServerInfo(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = 1231379574;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbSServerInfo.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TB.TbSServerInfo.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71d0fbb35928b3f4db942b7da353a21b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
102
JNFrame2/临时存储/GameScripts/Luban/Gen/Tables.cs
Normal file
102
JNFrame2/临时存储/GameScripts/Luban/Gen/Tables.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class Tables
|
||||
{
|
||||
public TbGGlobal TbGGlobal {get; }
|
||||
public TbGRole TbGRole {get; }
|
||||
public TbGRoleAttack TbGRoleAttack {get; }
|
||||
public TbGRoleSkill TbGRoleSkill {get; }
|
||||
public TbGMap TbGMap {get; }
|
||||
public TbGOnHookGlobal TbGOnHookGlobal {get; }
|
||||
public TbGResource TbGResource {get; }
|
||||
public TbGRoleUpStar TbGRoleUpStar {get; }
|
||||
public TbGRoleUpGrow TbGRoleUpGrow {get; }
|
||||
public TbSServerInfo TbSServerInfo {get; }
|
||||
public TbGAttribute TbGAttribute {get; }
|
||||
public TbGAttributeFC TbGAttributeFC {get; }
|
||||
public TbGRoleBaseAttribute TbGRoleBaseAttribute {get; }
|
||||
public TbGOnHookMaps TbGOnHookMaps {get; }
|
||||
public TbGOnHookMap120001 TbGOnHookMap120001 {get; }
|
||||
public TbBattleResource TbBattleResource {get; }
|
||||
public TbGRoleEquip TbGRoleEquip {get; }
|
||||
public TbGRoleEquipLevel TbGRoleEquipLevel {get; }
|
||||
public TbGRoleEquipQuality TbGRoleEquipQuality {get; }
|
||||
public TbGRoleEquipType TbGRoleEquipType {get; }
|
||||
public TbGSysDungeon TbGSysDungeon {get; }
|
||||
public TbGSysDungeon160001 TbGSysDungeon160001 {get; }
|
||||
public TbGSysDungeon160002 TbGSysDungeon160002 {get; }
|
||||
public TbGGift TbGGift {get; }
|
||||
public TbGShop TbGShop {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
TbGGlobal = new TbGGlobal(loader("tbgglobal"));
|
||||
TbGRole = new TbGRole(loader("tbgrole"));
|
||||
TbGRoleAttack = new TbGRoleAttack(loader("tbgroleattack"));
|
||||
TbGRoleSkill = new TbGRoleSkill(loader("tbgroleskill"));
|
||||
TbGMap = new TbGMap(loader("tbgmap"));
|
||||
TbGOnHookGlobal = new TbGOnHookGlobal(loader("tbgonhookglobal"));
|
||||
TbGResource = new TbGResource(loader("tbgresource"));
|
||||
TbGRoleUpStar = new TbGRoleUpStar(loader("tbgroleupstar"));
|
||||
TbGRoleUpGrow = new TbGRoleUpGrow(loader("tbgroleupgrow"));
|
||||
TbSServerInfo = new TbSServerInfo(loader("tbsserverinfo"));
|
||||
TbGAttribute = new TbGAttribute(loader("tbgattribute"));
|
||||
TbGAttributeFC = new TbGAttributeFC(loader("tbgattributefc"));
|
||||
TbGRoleBaseAttribute = new TbGRoleBaseAttribute(loader("tbgrolebaseattribute"));
|
||||
TbGOnHookMaps = new TbGOnHookMaps(loader("tbgonhookmaps"));
|
||||
TbGOnHookMap120001 = new TbGOnHookMap120001(loader("tbgonhookmap120001"));
|
||||
TbBattleResource = new TbBattleResource(loader("tbbattleresource"));
|
||||
TbGRoleEquip = new TbGRoleEquip(loader("tbgroleequip"));
|
||||
TbGRoleEquipLevel = new TbGRoleEquipLevel(loader("tbgroleequiplevel"));
|
||||
TbGRoleEquipQuality = new TbGRoleEquipQuality(loader("tbgroleequipquality"));
|
||||
TbGRoleEquipType = new TbGRoleEquipType(loader("tbgroleequiptype"));
|
||||
TbGSysDungeon = new TbGSysDungeon(loader("tbgsysdungeon"));
|
||||
TbGSysDungeon160001 = new TbGSysDungeon160001(loader("tbgsysdungeon160001"));
|
||||
TbGSysDungeon160002 = new TbGSysDungeon160002(loader("tbgsysdungeon160002"));
|
||||
TbGGift = new TbGGift(loader("tbggift"));
|
||||
TbGShop = new TbGShop(loader("tbgshop"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
private void ResolveRef()
|
||||
{
|
||||
TbGGlobal.ResolveRef(this);
|
||||
TbGRole.ResolveRef(this);
|
||||
TbGRoleAttack.ResolveRef(this);
|
||||
TbGRoleSkill.ResolveRef(this);
|
||||
TbGMap.ResolveRef(this);
|
||||
TbGOnHookGlobal.ResolveRef(this);
|
||||
TbGResource.ResolveRef(this);
|
||||
TbGRoleUpStar.ResolveRef(this);
|
||||
TbGRoleUpGrow.ResolveRef(this);
|
||||
TbSServerInfo.ResolveRef(this);
|
||||
TbGAttribute.ResolveRef(this);
|
||||
TbGAttributeFC.ResolveRef(this);
|
||||
TbGRoleBaseAttribute.ResolveRef(this);
|
||||
TbGOnHookMaps.ResolveRef(this);
|
||||
TbGOnHookMap120001.ResolveRef(this);
|
||||
TbBattleResource.ResolveRef(this);
|
||||
TbGRoleEquip.ResolveRef(this);
|
||||
TbGRoleEquipLevel.ResolveRef(this);
|
||||
TbGRoleEquipQuality.ResolveRef(this);
|
||||
TbGRoleEquipType.ResolveRef(this);
|
||||
TbGSysDungeon.ResolveRef(this);
|
||||
TbGSysDungeon160001.ResolveRef(this);
|
||||
TbGSysDungeon160002.ResolveRef(this);
|
||||
TbGGift.ResolveRef(this);
|
||||
TbGShop.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/Tables.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/Tables.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0aa0a9fcf75f7164e961ed5fc4db9cdd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbBattleResource.cs
Normal file
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbBattleResource.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbBattleResource
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbBattleResource> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbBattleResource> _dataList;
|
||||
|
||||
public TbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbBattleResource>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbBattleResource>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbBattleResource _v;
|
||||
_v = TB.TbBattleResource.DeserializeTbBattleResource(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbBattleResource> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbBattleResource> DataList => _dataList;
|
||||
|
||||
public TB.TbBattleResource GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbBattleResource Get(int key) => _dataMap[key];
|
||||
public TB.TbBattleResource this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbBattleResource.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbBattleResource.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 37b126234cd20cd468973a372b79e000
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttribute.cs
Normal file
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttribute.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGAttribute
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGAttribute> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGAttribute> _dataList;
|
||||
|
||||
public TbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGAttribute>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGAttribute>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGAttribute _v;
|
||||
_v = TB.TbGAttribute.DeserializeTbGAttribute(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGAttribute> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGAttribute> DataList => _dataList;
|
||||
|
||||
public TB.TbGAttribute GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGAttribute Get(int key) => _dataMap[key];
|
||||
public TB.TbGAttribute this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttribute.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttribute.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a67d0f739bfc5c4448bda04c6374d133
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttributeFC.cs
Normal file
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttributeFC.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGAttributeFC
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGAttributeFC> _dataList;
|
||||
|
||||
public TbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGAttributeFC>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGAttributeFC _v;
|
||||
_v = TB.TbGAttributeFC.DeserializeTbGAttributeFC(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGAttributeFC> DataList => _dataList;
|
||||
|
||||
public TB.TbGAttributeFC GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGAttributeFC Get(int key) => _dataMap[key];
|
||||
public TB.TbGAttributeFC this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttributeFC.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGAttributeFC.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bbc0f3c8bd33fd746ae194dce0eb0df6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性
|
||||
/// </summary>
|
||||
public sealed partial class TAttributeValue : Luban.BeanBase
|
||||
{
|
||||
public TAttributeValue(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TAttributeValue DeserializeTAttributeValue(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TAttributeValue(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 属性Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 属性值
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = -308305801;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6dc434aa4ec07cc478065c8b76e2416a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
72
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TDungeon.cs
Normal file
72
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TDungeon.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 普通副本信息
|
||||
/// </summary>
|
||||
public sealed partial class TDungeon : Luban.BeanBase
|
||||
{
|
||||
public TDungeon(ByteBuf _buf)
|
||||
{
|
||||
Level = _buf.ReadInt();
|
||||
Boss = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Attributes = new TbGEntity.TAttributeValue[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue __e0;__e0 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); Attributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Rewards = new TbGEntity.TReward[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TReward __e0;__e0 = TbGEntity.TReward.DeserializeTReward(_buf); Rewards[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TDungeon DeserializeTDungeon(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TDungeon(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly int Level;
|
||||
/// <summary>
|
||||
/// BOSS ID
|
||||
/// </summary>
|
||||
public readonly int Boss;
|
||||
/// <summary>
|
||||
/// BOSS 属性
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[] Attributes;
|
||||
/// <summary>
|
||||
/// 关卡奖励
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TReward[] Rewards;
|
||||
|
||||
public const int __ID__ = -191293256;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
foreach (var _e in Attributes) { _e?.ResolveRef(tables); }
|
||||
foreach (var _e in Rewards) { _e?.ResolveRef(tables); }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "level:" + Level + ","
|
||||
+ "boss:" + Boss + ","
|
||||
+ "attributes:" + Luban.StringUtil.CollectionToString(Attributes) + ","
|
||||
+ "rewards:" + Luban.StringUtil.CollectionToString(Rewards) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b236481408407a4a9de0d6415a9a803
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,79 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 无限模式关卡信息
|
||||
/// </summary>
|
||||
public sealed partial class TOnHookLevel : Luban.BeanBase
|
||||
{
|
||||
public TOnHookLevel(ByteBuf _buf)
|
||||
{
|
||||
Level = _buf.ReadInt();
|
||||
ChildLevel = _buf.ReadInt();
|
||||
PetLevel = _buf.ReadInt();
|
||||
PetSize = _buf.ReadInt();
|
||||
OddsId = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TOnHookLevel DeserializeTOnHookLevel(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TOnHookLevel(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关卡等级
|
||||
/// </summary>
|
||||
public readonly int Level;
|
||||
/// <summary>
|
||||
/// 子关卡等级
|
||||
/// </summary>
|
||||
public readonly int ChildLevel;
|
||||
/// <summary>
|
||||
/// 宠物等级
|
||||
/// </summary>
|
||||
public readonly int PetLevel;
|
||||
/// <summary>
|
||||
/// 宠物数量
|
||||
/// </summary>
|
||||
public readonly int PetSize;
|
||||
/// <summary>
|
||||
/// 概率Id
|
||||
/// </summary>
|
||||
public readonly int OddsId;
|
||||
|
||||
public const int __ID__ = 1503395840;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "level:" + Level + ","
|
||||
+ "childLevel:" + ChildLevel + ","
|
||||
+ "petLevel:" + PetLevel + ","
|
||||
+ "petSize:" + PetSize + ","
|
||||
+ "oddsId:" + OddsId + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34933ca8e21a2cd49b5ef58db00b70b3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
58
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TResource.cs
Normal file
58
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TResource.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源信息
|
||||
/// </summary>
|
||||
public sealed partial class TResource : Luban.BeanBase
|
||||
{
|
||||
public TResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TResource DeserializeTResource(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 资源Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源数量
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = 125240784;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c262725be09a8a44eb3968b2562eb3f1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
65
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TReward.cs
Normal file
65
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEntity.TReward.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 奖励信息
|
||||
/// </summary>
|
||||
public sealed partial class TReward : Luban.BeanBase
|
||||
{
|
||||
public TReward(ByteBuf _buf)
|
||||
{
|
||||
Type = (TbGEnum.TReward)_buf.ReadInt();
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TReward DeserializeTReward(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TReward(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 奖励类型
|
||||
/// </summary>
|
||||
public readonly TbGEnum.TReward Type;
|
||||
/// <summary>
|
||||
/// 奖励Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 奖励数量
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = 103029105;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "type:" + Type + ","
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7da8aa871fce294ab6f4829160b4253
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
34
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TGiftLimit.cs
Normal file
34
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TGiftLimit.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
namespace GameConfig.TbGEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 礼包限购类型
|
||||
/// </summary>
|
||||
public enum TGiftLimit
|
||||
{
|
||||
/// <summary>
|
||||
/// 无限购
|
||||
/// </summary>
|
||||
Unlimited = 1,
|
||||
/// <summary>
|
||||
/// 限制次数
|
||||
/// </summary>
|
||||
Limit = 2,
|
||||
/// <summary>
|
||||
/// 每天限制
|
||||
/// </summary>
|
||||
DayLimit = 3,
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc0b08ce66e8e5a45bfddd2da84e33d8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
26
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TReward.cs
Normal file
26
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TReward.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
namespace GameConfig.TbGEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 奖励类型
|
||||
/// </summary>
|
||||
public enum TReward
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源类型
|
||||
/// </summary>
|
||||
Resource = 1,
|
||||
}
|
||||
|
||||
}
|
||||
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TReward.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGEnum.TReward.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7ac017ede93fc64f8622dcefcdb0afa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGift.cs
Normal file
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGift.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGGift
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGGift> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGGift> _dataList;
|
||||
|
||||
public TbGGift(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGGift>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGGift>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGGift _v;
|
||||
_v = TB.TbGGift.DeserializeTbGGift(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGGift> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGGift> DataList => _dataList;
|
||||
|
||||
public TB.TbGGift GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGGift Get(int key) => _dataMap[key];
|
||||
public TB.TbGGift this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGift.cs.meta
Normal file
11
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGift.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 500b340c00c90b84798f53fbdefda387
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGlobal.cs
Normal file
52
JNFrame2/临时存储/GameScripts/Luban/Gen/TbGGlobal.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGGlobal
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGGlobal> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGGlobal> _dataList;
|
||||
|
||||
public TbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGGlobal>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGGlobal>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGGlobal _v;
|
||||
_v = TB.TbGGlobal.DeserializeTbGGlobal(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGGlobal> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGGlobal> DataList => _dataList;
|
||||
|
||||
public TB.TbGGlobal GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGGlobal Get(int key) => _dataMap[key];
|
||||
public TB.TbGGlobal this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user