Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CharacterEntityClass
using System.Collections.Generic;
using Amazon.DynamoDBv2.DataModel;
namespace Assets.CharacterCreatorAWSDynamoDB.Scripts
{
[DynamoDBTable("CharacterCreator")]
public class CharacterEntity
{
[DynamoDBHashKey] // Hash key.
public string CharacterID { get; set; }
[DynamoDBProperty]
public string Name { get; set; }
[DynamoDBProperty]
public int Age { get; set; }
[DynamoDBProperty]
public int Strength { get; set; }
[DynamoDBProperty]
public int Dexterity { get; set; }
[DynamoDBProperty]
public int Intelligence { get; set; }
[DynamoDBProperty]
public string FaceSpriteName { get; set; }
[DynamoDBProperty]
public string BodySpriteName { get; set; }
[DynamoDBProperty]
public string ShirtSpriteName { get; set; }
[DynamoDBProperty]
public string HairSpriteName { get; set; }
[DynamoDBProperty]
public string PantsSpriteName { get; set; }
[DynamoDBProperty]
public string ShoesSpriteName { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.