add
This commit is contained in:
28
Assets/CoolapeFrame/Scripts/toolkit/B2Int.cs
Normal file
28
Assets/CoolapeFrame/Scripts/toolkit/B2Int.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
********************************************************************************
|
||||
*Copyright(C),coolae.net
|
||||
*Author: chenbin
|
||||
*Version: 2.0
|
||||
*Date: 2017-01-09
|
||||
*Description: 为了解决lua中map的key为int时传给服务器无法取值的问题
|
||||
*Others:
|
||||
*History:
|
||||
*********************************************************************************
|
||||
*/
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace Coolape
|
||||
{
|
||||
public class B2Int
|
||||
{
|
||||
public int value = 0;
|
||||
// public B2Int() {
|
||||
// value = 0;
|
||||
// }
|
||||
public B2Int (int v)
|
||||
{
|
||||
value = v;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user