49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using BrewMonster.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace BrewMonster.Scripts
|
|
{
|
|
public class CECInstance
|
|
{
|
|
int m_id = 161; // Instance ID
|
|
ushort[] m_strName; // Instance name
|
|
string m_strPath; // Path
|
|
int m_iRowNum = 3; // Number of map row
|
|
int m_iColNum = 4; // Number of map column
|
|
bool m_bLimitJump = false; // ÊÇ·ñÏÞÌø
|
|
List<string> m_routeFiles;
|
|
|
|
public CECInstance()
|
|
{
|
|
m_id = 161;
|
|
m_iRowNum = 3;
|
|
m_iColNum = 4;
|
|
m_bLimitJump = false;
|
|
}
|
|
|
|
// Get instance ID
|
|
public int GetID() { return m_id; }
|
|
// Get instance name
|
|
public ushort[] GetName() { return m_strName; }
|
|
// Get instance data path
|
|
public string GetPath() { return m_strPath; }
|
|
// Get row and column number of map
|
|
public int GetRowNum(){ return m_iRowNum; }
|
|
public int GetColNum(){ return m_iColNum; }
|
|
public bool GetLimitJump(){ return m_bLimitJump; }
|
|
public List<string> GetRouteFiles(){ return m_routeFiles; }
|
|
public bool GetPositionRelatedTexture(float x, float z, string filePath)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
// Load instance information from file
|
|
public bool Load(AWScriptFile psf)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|